SerializerGeneratorGenerateSerializerSourceCodes Method (IEnumerableType) |
Generates source codes which implement auto-generated serializer types for specified types with default configuration.
Namespace: MsgPack.SerializationAssembly: MsgPack (in MsgPack.dll) Version: 0.6.0
Syntax public static IEnumerable<SerializerCodeGenerationResult> GenerateSerializerSourceCodes(
IEnumerable<Type> targetTypes
)
Public Shared Function GenerateSerializerSourceCodes (
targetTypes As IEnumerable(Of Type)
) As IEnumerable(Of SerializerCodeGenerationResult)
public:
static IEnumerable<SerializerCodeGenerationResult^>^ GenerateSerializerSourceCodes(
IEnumerable<Type^>^ targetTypes
)
static member GenerateSerializerSourceCodes :
targetTypes : IEnumerable<Type> -> IEnumerable<SerializerCodeGenerationResult>
Parameters
- targetTypes
- Type: System.Collections.GenericIEnumerableType
The target types where serializer types to be generated.
Return Value
Type:
IEnumerableSerializerCodeGenerationResultA
SerializerCodeGenerationResult collection which correspond to codes generated to
targetTypes.
Exceptions Remarks
Serializer types for dependent types which are refered from specified targetTypes are NOT generated.
This method just generate serializer types for specified types.
See Also