Version 3.3.1.2

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, Boolean, out String)
protected static MethodInfo GetCompatibleMethod(Type type, string methodName, BindingFlags flags, ref NamedValues namedValues, ref NamedValues argSetup, bool requiresBackcasting, out string errorMessage)
Parameters
System.Type type

System.String methodName

System.Reflection.BindingFlags flags

NamedValues namedValues

NamedValues argSetup

System.Boolean requiresBackcasting

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, Boolean, out String)
protected static bool IsCompatibleMethod(MethodInfo method, ref NamedValues namedValues, ref NamedValues argSetup, bool requiresBackcasting, out string errorMessage)
Parameters
System.Reflection.MethodInfo method

NamedValues namedValues

NamedValues argSetup

System.Boolean requiresBackcasting

System.String errorMessage

Returns
System.Boolean