Table of Contents

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
DataSerializerAttribute
Inherited Members

Constructors

DataSerializerAttribute(Type)

Initializes a new instance of the DataSerializerAttribute class.

public DataSerializerAttribute(Type dataSerializerType)

Parameters

dataSerializerType Type

Type 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

Field Value

DataSerializerGenericMode