Class ValueSerializer
Inheritance
System.Object
ValueSerializer
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: OpenSilver.Xaml.dll
Syntax
public abstract class ValueSerializer
Methods
|
Improve this Doc
View Source
CanConvertFromString(String, IValueSerializerContext)
Declaration
public virtual bool CanConvertFromString(string value, IValueSerializerContext context)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
CanConvertToString(Object, IValueSerializerContext)
Declaration
public virtual bool CanConvertToString(object value, IValueSerializerContext context)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
ConvertFromString(String, IValueSerializerContext)
Declaration
public virtual object ConvertFromString(string value, IValueSerializerContext context)
Parameters
Returns
Type |
Description |
System.Object |
|
|
Improve this Doc
View Source
ConvertToString(Object, IValueSerializerContext)
Declaration
public virtual string ConvertToString(object value, IValueSerializerContext context)
Parameters
Returns
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
GetConvertFromException(Object)
Declaration
protected Exception GetConvertFromException(object value)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
Returns
Type |
Description |
System.Exception |
|
|
Improve this Doc
View Source
GetConvertToException(Object, Type)
Declaration
protected Exception GetConvertToException(object value, Type destinationType)
Parameters
Type |
Name |
Description |
System.Object |
value |
|
System.Type |
destinationType |
|
Returns
Type |
Description |
System.Exception |
|
|
Improve this Doc
View Source
GetSerializerFor(PropertyInfo)
Declaration
public static ValueSerializer GetSerializerFor(PropertyInfo descriptor)
Parameters
Type |
Name |
Description |
System.Reflection.PropertyInfo |
descriptor |
|
Returns
|
Improve this Doc
View Source
GetSerializerFor(PropertyInfo, IValueSerializerContext)
Declaration
public static ValueSerializer GetSerializerFor(PropertyInfo descriptor, IValueSerializerContext context)
Parameters
Returns
|
Improve this Doc
View Source
GetSerializerFor(Type)
Declaration
public static ValueSerializer GetSerializerFor(Type type)
Parameters
Type |
Name |
Description |
System.Type |
type |
|
Returns
|
Improve this Doc
View Source
GetSerializerFor(Type, IValueSerializerContext)
Declaration
public static ValueSerializer GetSerializerFor(Type type, IValueSerializerContext context)
Parameters
Returns
|
Improve this Doc
View Source
TypeReferences(Object, IValueSerializerContext)
Declaration
public virtual IEnumerable<Type> TypeReferences(object value, IValueSerializerContext context)
Parameters
Returns
Type |
Description |
System.Collections.Generic.IEnumerable<System.Type> |
|
Extension Methods