5 namespace SiliconStudio.Core.Serialization.Serializers
10 [AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
19 DataSerializerType = dataSerializerType;
DataSerializerAttribute(Type dataSerializerType)
Initializes a new instance of the DataSerializerAttribute class.
DataSerializerGenericMode Mode
DataSerializerGenericMode
Defines what generic parameters to pass to the serializer.
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}.
Type DataSerializerType
Gets the type of the data serializer.
Use this attribute on a class to specify its data serializer type.