Helper classes used during the XAML serialization of instances.
Inheritance Hierarchy
Remarks
Using this class instances can be written in xml attributes as strings.
Members
No filters for this type
Methods
Determines whether this instance can convert the specified value from the given string.
Determines whether this instance can convert the specified value from the given string.
Parameters
- value: string
- The string value to convert.
- context: IValueSerializerContext
- The context.
Return Value
- boolean
trueif this instance can convert the specified value from the string; otherwise,false.
Determines whether this instance can convert the specified value to a string.
Determines whether this instance can convert the specified value to a string.
Parameters
- value: any
- The value.
- context: IValueSerializerContext
- The context.
Return Value
- boolean
trueif this instance can convert the specified value to a string; otherwise,false.
Converts the string to an appropriate instance.
Converts the string to an appropriate instance.
Parameters
- value: string
- The value to convert to an object.
- context: IValueSerializerContext
- The context.
Return Value
- any
- The converted object
Converts the given value to string.
Converts the given value to string.
Parameters
- o: any
- The value.
- context: IValueSerializerContext
- The context.
Return Value
- string
- The value as string representation.
Static Methods
Gets the ValueSerializer implementation for the given descriptor.
Gets the ValueSerializer implementation for the given descriptor.
static
Parameters
- property: Property
- The descriptor.
- context: IValueSerializerContext
- The context.
Return Value
- ValueSerializer
- The serializer to use for the descriptor.
Gets the ValueSerializer implementation for the given type.
Gets the ValueSerializer implementation for the given type.
static
Parameters
- type: Constructor
- The type.
- context: IValueSerializerContext
- The context.
Return Value
- ValueSerializer
- The serializer to use for the type.