C# Class Platform.Xml.Serialization.StringableTypeSerializer

A TypeSerializer that supports serializing various primitive types to and from strings.
Inheritance: TypeSerializerWithSimpleTextSupport
Afficher le fichier Open project: platformdotnet/Platform

Méthodes publiques

Méthode Description
Deserialize ( string value, SerializationContext state ) : object

TypeSerializerWithSimpleTextSupport.Deserialize(string, SerializationContext)

Serialize ( object obj, SerializationContext state ) : string

TypeSerializerWithSimpleTextSupport.Serialize(object, SerializationContext)

StringableTypeSerializer ( Type type, SerializationMemberInfo memberInfo, TypeSerializerCache cache, SerializerOptions options ) : System

Method Details

Deserialize() public méthode

TypeSerializerWithSimpleTextSupport.Deserialize(string, SerializationContext)
public Deserialize ( string value, SerializationContext state ) : object
value string
state SerializationContext
Résultat object

Serialize() public méthode

TypeSerializerWithSimpleTextSupport.Serialize(object, SerializationContext)
public Serialize ( object obj, SerializationContext state ) : string
obj object
state SerializationContext
Résultat string

StringableTypeSerializer() public méthode

public StringableTypeSerializer ( Type type, SerializationMemberInfo memberInfo, TypeSerializerCache cache, SerializerOptions options ) : System
type System.Type
memberInfo SerializationMemberInfo
cache TypeSerializerCache
options SerializerOptions
Résultat System