DataSerializerGenericMode Enum
Namespace: Stride.Core.SerializationAssembly: Stride.Core.dll
Defines what generic parameters to pass to the serializer.
public enum DataSerializerGenericMode
Fields
Name | Description |
---|---|
GenericArguments | The generic arguments of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A{T1, T2} becomes instantiated as Serializer{T1, T2}. |
None | |
Type | The type of the serialized type will be passed as a generic arguments of the serializer. Example: serializer of A becomes instantiated as Serializer{A}. |
TypeAndGenericArguments | Combinations of both Type and GenericArguments. Example: serializer of A{T1, T2} becomes instantiated as Serializer{A, T1, T2}. |