Enum DataSerializerGenericMode
- Namespace
- Stride.Core.Serialization
- Assembly
- Stride.Core.dll
Defines what generic parameters to pass to the serializer.
public enum DataSerializerGenericMode
Fields
GenericArguments = 2
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 = 0
Type = 1
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 = 3
Combinations of both Type and GenericArguments. Example: serializer of A{T1, T2} becomes instantiated as Serializer{A, T1, T2}.