Version 3.0.1.0

ValueProvider<TResult> class

Namespace: Sirenix.OdinInspector.Editor.ValueResolver
Assembly: Sirenix.OdinInspector.Editor
public abstract class ValueProvider<TResult> : IValueProvider<TResult>, IValueProvider
Inheritance
  • System.Object
  • ValueProvider<TResult>

Type Parameters

TResult

Constructors

ValueProvider(ResolverContext)
public ValueProvider(ResolverContext context)
Parameters
ResolverContext context

Fields

Context
protected readonly ResolverContext Context

Properties

DefaultParentInstance
public object DefaultParentInstance { get; set; }
Failed
public virtual bool Failed { get; }
RequiresParentInstance
public abstract bool RequiresParentInstance { get; }

Methods

GetNiceErrorMessage()
public string GetNiceErrorMessage()
Returns
System.String

GetValue()
public TResult GetValue()
Returns
TResult

GetValue(Object)
public abstract TResult GetValue(object instance)
Parameters
System.Object instance

Returns
TResult