Version 3.3.1.2

PropertyContext<T> class

Namespace: Sirenix.OdinInspector.Editor
Assembly: Sirenix.OdinInspector.Editor
public sealed class PropertyContext<T>

A contextual value attached to an InspectorProperty, mapped to a key, contained in a PropertyContextContainer.

Inheritance
  • System.Object
  • PropertyContext<T>

Type Parameters

T

Fields

Value
The contained value.
public T Value

Methods

Create()
Creates a new PropertyContext.
public static PropertyContext<T> Create()
Returns
PropertyContext<T>

ToString()
Returns a System.String that represents this instance, of the format "PropertyContext<T>: Value.ToString()".
public override string ToString()
Returns
System.String

A System.String that represents this instance.

Operators

Explicit(PropertyContext<T> to T)
Performs an explicit conversion from PropertyContext<T> to .
public static explicit operator T(PropertyContext<T> context)
Parameters
PropertyContext<T> context

The context.

Returns
T

The result of the conversion.