Version 3.0.1.0

ResolverContext class

Namespace: Sirenix.OdinInspector.Editor.ValueResolver
Assembly: Sirenix.OdinInspector.Editor
public abstract class ResolverContext
Inheritance
  • System.Object
  • ResolverContext

Constructors

ResolverContext()
protected ResolverContext()

Properties

HasAnyFails
public bool HasAnyFails { get; }

Methods

AddExpressionParameter(String, Type, Func<Object>)
public void AddExpressionParameter(string name, Type type, Func<object> getValue)
Parameters
System.String name

System.Type type

System.Func<System.Object> getValue

AddExpressionParameter<T>(String, Func<Object>)
public void AddExpressionParameter<T>(string name, Func<object> getValue)
Parameters
System.String name

System.Func<System.Object> getValue

Type Parameters
T

GetExpressionParameters()
public ExpressionParam[] GetExpressionParameters()
Returns
ExpressionParam[]

GetFailInfos()
public List<EvaluatorFailInfo> GetFailInfos()
Returns
System.Collections.Generic.List<EvaluatorFailInfo>

GetParentInstance()
public abstract object GetParentInstance()
Returns
System.Object

GetParentType()
public abstract Type GetParentType()
Returns
System.Type

LogFailInfo(EvaluatorFailInfo)
public void LogFailInfo(EvaluatorFailInfo info)
Parameters
EvaluatorFailInfo info

LogFailInfo(IProviderEvaluator, String)
public void LogFailInfo(IProviderEvaluator resolver, string message)
Parameters
Sirenix.OdinInspector.Editor.ValueResolver.IProviderEvaluator resolver

System.String message

LogFailInfoFormat(IProviderEvaluator, String, Object[])
public void LogFailInfoFormat(IProviderEvaluator resolver, string format, params object[] args)
Parameters
Sirenix.OdinInspector.Editor.ValueResolver.IProviderEvaluator resolver

System.String format

System.Object[] args

Reset()
public void Reset()