TypeDrawerPair

Contains information about an editor type which is assigned to draw a certain type in the inspector.

This class uses the TypeBinder instance to bind types to names, and names to types.

namespace Sirenix.OdinInspector.Editor
{
public struct TypeDrawerPair : IEquatable<TypeDrawerPair>
}

Requirements

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector
Version: 2.0.0.0

See Also

Static Fields

Return Type Definition Description
TypeDrawerPair Default A default, empty TypeDrawerPair value.

Fields

Return Type Definition Description
string DrawnTypeName The name of the type to be drawn.
string EditorTypeName The name of the editor type.

Constructors

Definition Description
TypeDrawerPair(Type) Initializes a new instance of the TypeDrawerPair struct.
TypeDrawerPair(Type, Type) Initializes a new instance of the TypeDrawerPair struct.

Methods

Return Type Definition Description
bool Equals(Object) Determines whether the specified Object, is equal to this instance.
bool Equals(TypeDrawerPair) Determines whether the specified TypeDrawerPair is equal to this instance.
int GetHashCode() Returns a hash code for this instance.

Operators

Definition Description
op_Equality(TypeDrawerPair, TypeDrawerPair) Implements the operator ==.
op_Inequality(TypeDrawerPair, TypeDrawerPair) Implements the operator !=.