DataSerializerAttribute Class
Namespace: Stride.Core.SerializationAssembly: Stride.Core.dll
Use this attribute on a class to specify its data serializer type.
                 System.Object →  System.Attribute →  
                DataSerializerAttribute
              
              
                 Derived from DataSerializerAttribute: 
              
              
              
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Struct)]
public class DataSerializerAttribute : Attribute| Name | Description | |
|---|---|---|
| Constructors | ||
| DataSerializerAttribute(Type) | Initializes a new instance of the DataSerializerAttribute class. | |
| Fields | ||
| DataSerializerType | Gets the type of the data serializer. | |
| Mode | ||
Constructors
DataSerializerAttribute(Type)
Initializes a new instance of the DataSerializerAttribute class.
public DataSerializerAttribute(Type dataSerializerType)Parameters
| Type | Name | Description | 
|---|---|---|
| System.Type | dataSerializerType | Type of the data serializer. | 
Fields
DataSerializerType
Gets the type of the data serializer.
public Type DataSerializerTypeField Value
| Type | Description | 
|---|---|
| System.Type | The type of the data serializer. | 
Mode
public DataSerializerGenericMode ModeField Value
| Type | Description | 
|---|---|
| DataSerializerGenericMode | 
Inherited Members
                  System.Attribute.Equals(System.Object)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
                
                
                  System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Module)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Boolean)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
                
                
                  System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.GetHashCode()
                
                
                  System.Attribute.IsDefaultAttribute()
                
                
                  System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
                
                
                  System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, System.Boolean)
                
                
                  System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
                
                
                  System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.IsDefined(System.Reflection.Module, System.Type)
                
                
                  System.Attribute.IsDefined(System.Reflection.Module, System.Type, System.Boolean)
                
                
                  System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
                
                
                  System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, System.Boolean)
                
                
                  System.Attribute.Match(System.Object)
                
                
                  System.Attribute.TypeId