Méthode | Description | |
---|---|---|
CreateEnumConstructor ( ) : Func |
Creates instance constructor delegates.
|
|
CreateEnumInstance ( SerializationContext context, EnumSerializationMethod serializationMethod ) : MessagePackSerializer |
Creates the serializer type built now and returns its new instance.
|
|
DefineOverrideMethod ( string methodName ) : |
Gets the IL generator to implement specified method override.
|
|
DefinePrivateMethod ( string methodName, bool isStatic, |
Gets the IL generator to implement specified private instance method.
|
|
RegisterField ( string name, |
Regisgters specified field to the current emitting session.
|
|
SerializerEmitter ( |
Initializes a new instance of the SerializerEmitter class.
|
|
SerializerEmitter ( SerializationContext context, |
Initializes a new instance of the SerializerEmitter class for enum.
|
Méthode | Description | |
---|---|---|
CreateConstructor ( MethodAttributes attributes, |
||
DefineConstructor ( MethodAttributes attributes ) : |
||
DefineInitonlyField ( string name, |
||
DefineMethod ( string methodName, bool isOverride, bool isStatic, |
||
EmitDefaultEnumConstructor ( |
||
EmitMethodEnumConstructor ( |
||
GetILGenerator ( |
||
GetILGenerator ( |
public CreateEnumInstance ( SerializationContext context, EnumSerializationMethod serializationMethod ) : MessagePackSerializer | ||
context | SerializationContext | The |
serializationMethod | EnumSerializationMethod | The |
Résultat | MessagePackSerializer |
public DefineOverrideMethod ( string methodName ) : |
||
methodName | string | The name of the method. |
Résultat |
public DefinePrivateMethod ( string methodName, bool isStatic, |
||
methodName | string | The name of the method. |
isStatic | bool | |
returnType | The type of the method return value. | |
Résultat |
public RegisterField ( string name, |
||
name | string | The name of the field. |
type | The type of the field. | |
Résultat |
public SerializerEmitter ( |
||
host | The host |
|
specification | SerializerSpecification | The specification of the serializer. |
baseClass | Type of the base class of the serializer. | |
isDebuggable | bool | Set to |
Résultat | System |
public SerializerEmitter ( SerializationContext context, |
||
context | SerializationContext | A |
host | The host |
|
specification | SerializerSpecification | The specification of the serializer. |
isDebuggable | bool | Set to |
Résultat | System |