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
-
ContentSerializerAttribute
- 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
contentSerializerType
TypeType 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.