Version 3.3.1.2

RegisterFormatterAttribute class

Namespace: Sirenix.Serialization
Assembly: Sirenix.Serialization
[AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)]
public class RegisterFormatterAttribute : Attribute, _Attribute
Inheritance
  • System.Object
  • System.Attribute
  • RegisterFormatterAttribute

Constructors

RegisterFormatterAttribute(Type, Int32)
public RegisterFormatterAttribute(Type formatterType, int priority = 0)
Parameters
System.Type formatterType

System.Int32 priority

RegisterFormatterAttribute(Type, Type, Int32)
public RegisterFormatterAttribute(Type formatterType, Type weakFallback, int priority = 0)
Parameters
System.Type formatterType

System.Type weakFallback

System.Int32 priority

Properties

FormatterType
public Type FormatterType { get; }
Priority
public int Priority { get; }
WeakFallback
public Type WeakFallback { get; }