Version 3.0.1.0

BaseMemberValueResolverCreator class

Namespace: Sirenix.OdinInspector.Editor.ValueResolvers
Assembly: Sirenix.OdinInspector.Editor
public abstract class BaseMemberValueResolverCreator : ValueResolverCreator
Inheritance

Constructors

BaseMemberValueResolverCreator()
protected BaseMemberValueResolverCreator()

Methods

GetCompatibleMethod(Type, String, BindingFlags, ref NamedValues, ref NamedValues, out String)
protected static MethodInfo GetCompatibleMethod(Type type, string methodName, BindingFlags flags, ref NamedValues namedValues, ref NamedValues argSetup, out string errorMessage)
Parameters
System.Type type

System.String methodName

System.Reflection.BindingFlags flags

NamedValues namedValues

NamedValues argSetup

System.String errorMessage

Returns
System.Reflection.MethodInfo

GetDelegateGetter<TResult>(Delegate, NamedValues)
protected static ValueResolverFunc<TResult> GetDelegateGetter<TResult>(Delegate delegate, NamedValues argSetup)
Parameters
System.Delegate delegate

NamedValues argSetup

Returns
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult>

Type Parameters
TResult

GetFieldGetter<TResult>(FieldInfo)
protected static ValueResolverFunc<TResult> GetFieldGetter<TResult>(FieldInfo field)
Parameters
System.Reflection.FieldInfo field

Returns
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult>

Type Parameters
TResult

GetMethodGetter<TResult>(MethodInfo, NamedValues, Boolean)
protected static ValueResolverFunc<TResult> GetMethodGetter<TResult>(MethodInfo method, NamedValues argSetup, bool parentIsValueType)
Parameters
System.Reflection.MethodInfo method

NamedValues argSetup

System.Boolean parentIsValueType

Returns
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult>

Type Parameters
TResult

GetPropertyGetter<TResult>(PropertyInfo, Boolean)
protected static ValueResolverFunc<TResult> GetPropertyGetter<TResult>(PropertyInfo property, bool parentIsValueType)
Parameters
System.Reflection.PropertyInfo property

System.Boolean parentIsValueType

Returns
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult>

Type Parameters
TResult

IsCompatibleMethod(MethodInfo, ref NamedValues, ref NamedValues, out String)
protected static bool IsCompatibleMethod(MethodInfo method, ref NamedValues namedValues, ref NamedValues argSetup, out string errorMessage)
Parameters
System.Reflection.MethodInfo method

NamedValues namedValues

NamedValues argSetup

System.String errorMessage

Returns
System.Boolean