Namespace: | Sirenix.Utilities.Editor |
Assembly: | Sirenix.Utilities.Editor |
public struct FieldExpressionContext
public readonly object Instance
public readonly Type Type
public bool IsStatic { get; }
public static FieldExpressionContext InstanceContext(object instance)
System.Object | instance | The instance for the context to target. |
FieldExpressionContext | FieldExpressionContext that targets an instance. |
System.ArgumentNullException | Throws if instance is null. |
public static FieldExpressionContext None()
FieldExpressionContext | FieldExpresionContext target targets nothing. |
public static FieldExpressionContext StaticContext(Type type)
System.Type | type | The type to target. |
FieldExpressionContext | FieldExpressionContext that targets a static type. |
System.ArgumentNullException | Throws if type is null. |