Class DataSerializerAttribute
- Namespace
 - Stride.Core.Serialization
 
- Assembly
 - Stride.Core.dll
 
Use this attribute on a class to specify its data serializer type.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct)]
public class DataSerializerAttribute : Attribute
  - Inheritance
 - 
      objectDataSerializerAttribute
 
- Inherited Members
 
Constructors
DataSerializerAttribute(Type)
Initializes a new instance of the DataSerializerAttribute class.
public DataSerializerAttribute(Type dataSerializerType)
  Parameters
dataSerializerTypeTypeType of the data serializer.
Fields
DataSerializerType
Gets the type of the data serializer.
public Type DataSerializerType
  Field Value
- Type
 The type of the data serializer.
Mode
public DataSerializerGenericMode Mode