Version 2.1.0.0

AlwaysFormatsSelfAttribute class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = true)]
public sealed class AlwaysFormatsSelfAttribute : Attribute, _Attribute
Use this attribute to specify that a type that implements the Sirenix.Serialization.ISelfFormatter interface should *always* format itself regardless of other formatters being specified.

This means that the interface will be used to format all types derived from the type that is decorated with this attribute, regardless of custom formatters for the derived types.

Inheritance
  • System.Object
  • System.Attribute
  • AlwaysFormatsSelfAttribute
See Also
  • System.Attribute

Constructors

AlwaysFormatsSelfAttribute()
public AlwaysFormatsSelfAttribute()