Class ContentSerializerAttribute
- Namespace
 - Stride.Core.Serialization.Contents
 
- Assembly
 - Stride.Core.Serialization.dll
 
Allows customization of IContentSerializer through an attribute.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Interface, AllowMultiple = true, Inherited = false)]
public class ContentSerializerAttribute : Attribute
  - Inheritance
 - 
      objectContentSerializerAttribute
 
- Inherited Members
 
Constructors
ContentSerializerAttribute()
Initializes a new instance of the ContentSerializerAttribute class.
public ContentSerializerAttribute()
  ContentSerializerAttribute(Type)
Initializes a new instance of the ContentSerializerAttribute class.
public ContentSerializerAttribute(Type contentSerializerType)
  Parameters
contentSerializerTypeTypeType of the content serializer.
Properties
ContentSerializerType
Gets the type of the content serializer.
public Type? ContentSerializerType { get; }
  Property Value
- Type
 The type of the content serializer.