C# Class NetSerializer.GenericSerializer

Inheritance: IDynamicTypeSerializer
Afficher le fichier Open project: tomba/netserializer

Méthodes publiques

Méthode Description
GenerateReaderMethod ( NetSerializer.Serializer serializer, Type type, ILGenerator il ) : void
GenerateWriterMethod ( NetSerializer.Serializer serializer, Type type, ILGenerator il ) : void
GetSubtypes ( Type type ) : IEnumerable
Handles ( Type type ) : bool

Private Methods

Méthode Description
EmitCallToDeserializingCallback ( Type type, ILGenerator il, MethodInfo method ) : void
EmitCallToSerializingCallback ( Type type, ILGenerator il, MethodInfo method ) : void
GetMethodsWithAttributes ( Type type, Type attrType ) : IEnumerable

Method Details

GenerateReaderMethod() public méthode

public GenerateReaderMethod ( NetSerializer.Serializer serializer, Type type, ILGenerator il ) : void
serializer NetSerializer.Serializer
type System.Type
il System.Reflection.Emit.ILGenerator
Résultat void

GenerateWriterMethod() public méthode

public GenerateWriterMethod ( NetSerializer.Serializer serializer, Type type, ILGenerator il ) : void
serializer NetSerializer.Serializer
type System.Type
il System.Reflection.Emit.ILGenerator
Résultat void

GetSubtypes() public méthode

public GetSubtypes ( Type type ) : IEnumerable
type System.Type
Résultat IEnumerable

Handles() public méthode

public Handles ( Type type ) : bool
type System.Type
Résultat bool