Namespace: | Sirenix.OdinInspector.Editor.ValueResolvers |
Assembly: | Sirenix.OdinInspector.Editor |
public abstract class ValueResolverCreator
protected ValueResolverCreator()
protected static ValueResolverFunc<TResult> GetFailedResolverFunc<TResult>()
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult> |
TResult |
public abstract string GetPossibleMatchesString(ref ValueResolverContext context)
ValueResolverContext | context |
System.String |
public static ValueResolver GetResolver(Type resultType, InspectorProperty property, string resolvedString)
System.Type | resultType | |
InspectorProperty | property | |
System.String | resolvedString |
ValueResolver |
public static ValueResolver GetResolver(Type resultType, InspectorProperty property, string resolvedString, params NamedValue[] namedArgs)
System.Type | resultType | |
InspectorProperty | property | |
System.String | resolvedString | |
NamedValue[] | namedArgs |
ValueResolver |
public static ValueResolver GetResolver(Type resultType, InspectorProperty property, string resolvedString, object fallbackValue)
System.Type | resultType | |
InspectorProperty | property | |
System.String | resolvedString | |
System.Object | fallbackValue |
ValueResolver |
public static ValueResolver GetResolver(Type resultType, InspectorProperty property, string resolvedString, object fallbackValue, params NamedValue[] namedArgs)
System.Type | resultType | |
InspectorProperty | property | |
System.String | resolvedString | |
System.Object | fallbackValue | |
NamedValue[] | namedArgs |
ValueResolver |
public static ValueResolver<TResult> GetResolver<TResult>(InspectorProperty property, string resolvedString)
InspectorProperty | property | |
System.String | resolvedString |
ValueResolver<TResult> |
TResult |
public static ValueResolver<TResult> GetResolver<TResult>(InspectorProperty property, string resolvedString, TResult fallbackValue)
InspectorProperty | property | |
System.String | resolvedString | |
TResult | fallbackValue |
ValueResolver<TResult> |
TResult |
public static ValueResolver<TResult> GetResolver<TResult>(InspectorProperty property, string resolvedString, TResult fallbackValue, params NamedValue[] namedArgs)
InspectorProperty | property | |
System.String | resolvedString | |
TResult | fallbackValue | |
NamedValue[] | namedArgs |
ValueResolver<TResult> |
TResult |
public static ValueResolver<TResult> GetResolver<TResult>(InspectorProperty property, string resolvedString, params NamedValue[] namedArgs)
InspectorProperty | property | |
System.String | resolvedString | |
NamedValue[] | namedArgs |
ValueResolver<TResult> |
TResult |
public static ValueResolver<TResult> GetResolverFromContext<TResult>(ref ValueResolverContext context)
ValueResolverContext | context |
ValueResolver<TResult> |
TResult |
public static ValueResolver GetResolverFromContextWeak(ref ValueResolverContext context)
ValueResolverContext | context |
ValueResolver |
public static void Register(ValueResolverCreator valueResolverCreator, double order = 0)
ValueResolverCreator | valueResolverCreator | |
System.Double | order |
public abstract ValueResolverFunc<TResult> TryCreateResolverFunc<TResult>(ref ValueResolverContext context)
ValueResolverContext | context |
Sirenix.OdinInspector.Editor.ValueResolvers.ValueResolverFunc<TResult> |
TResult |