SerializerGenerator Class |
Namespace: MsgPack.Serialization
The SerializerGenerator type exposes the following members.
Name | Description | |
---|---|---|
SerializerGenerator(AssemblyName) | Obsolete.
Initializes a new instance of the SerializerGenerator class.
| |
SerializerGenerator(Type, AssemblyName) | Obsolete.
Initializes a new instance of the SerializerGenerator class.
|
Name | Description | |
---|---|---|
AssemblyName | Obsolete.
Gets the name of the assembly to be generated.
| |
Method | Obsolete.
Gets or sets the SerializationMethod which indicates serialization method to be used.
| |
RootType | Obsolete.
Gets the type of the root object which will be serialized/deserialized.
| |
TargetTypes | Obsolete.
Gets target types will be generated dedicated serializers.
|
Name | Description | |
---|---|---|
GenerateAssembly(SerializerAssemblyGenerationConfiguration, IEnumerableType) |
Generates an assembly which contains auto-generated serializer types for specified types.
| |
GenerateAssembly(SerializerAssemblyGenerationConfiguration, Type) |
Generates an assembly which contains auto-generated serializer types for specified types.
| |
GenerateAssemblyFile | Obsolete.
Generates the serializer assembly and save it to current directory.
| |
GenerateAssemblyFile(String) | Obsolete.
Generates the serializer assembly and save it to specified directory.
| |
GenerateCode(IEnumerableType) |
Generates source codes which implement auto-generated serializer types for specified types with default configuration.
| |
GenerateCode(Type) |
Generates source codes which implement auto-generated serializer types for specified types with default configuration.
| |
GenerateCode(SerializerCodeGenerationConfiguration, IEnumerableType) |
Generates source codes which implement auto-generated serializer types for specified types with specified configuration.
| |
GenerateCode(SerializerCodeGenerationConfiguration, Type) |
Generates source codes which implement auto-generated serializer types for specified types with specified configuration.
| |
GenerateSerializerCodeAssembly(SerializerAssemblyGenerationConfiguration, IEnumerableType) |
Generates an assembly which contains auto-generated serializer types for specified types.
| |
GenerateSerializerCodeAssembly(SerializerAssemblyGenerationConfiguration, Type) |
Generates an assembly which contains auto-generated serializer types for specified types.
| |
GenerateSerializerSourceCodes(IEnumerableType) |
Generates source codes which implement auto-generated serializer types for specified types with default configuration.
| |
GenerateSerializerSourceCodes(Type) |
Generates source codes which implement auto-generated serializer types for specified types with default configuration.
| |
GenerateSerializerSourceCodes(SerializerCodeGenerationConfiguration, IEnumerableType) |
Generates source codes which implement auto-generated serializer types for specified types with specified configuration.
| |
GenerateSerializerSourceCodes(SerializerCodeGenerationConfiguration, Type) |
Generates source codes which implement auto-generated serializer types for specified types with specified configuration.
|
Note |
---|
You should NOT assume at all like class hierarchy of generated type, its implementing interfaces, custom attributes, or dependencies. They subject to be changed in the future. If you want to get such fine grained control for them, you should implement own hand made serializers. |