Version 3.0.4.0

ActionResolverCreator class

Namespace: Sirenix.OdinInspector.Editor.ActionResolvers
Assembly: Sirenix.OdinInspector.Editor
public abstract class ActionResolverCreator
Inheritance
  • System.Object
  • ActionResolverCreator

Constructors

ActionResolverCreator()
protected ActionResolverCreator()

Fields

FailedResolveAction
protected static readonly ResolvedAction FailedResolveAction

Methods

GetDelegateInvoker(Delegate, NamedValues)
protected static ResolvedAction GetDelegateInvoker(Delegate delegate, NamedValues argSetup)
Parameters
System.Delegate delegate

NamedValues argSetup

Returns
Sirenix.OdinInspector.Editor.ActionResolvers.ResolvedAction

GetMethodInvoker(MethodInfo, NamedValues, Boolean)
protected static ResolvedAction GetMethodInvoker(MethodInfo method, NamedValues argSetup, bool parentIsValueType)
Parameters
System.Reflection.MethodInfo method

NamedValues argSetup

System.Boolean parentIsValueType

Returns
Sirenix.OdinInspector.Editor.ActionResolvers.ResolvedAction

GetPossibleMatchesString(ref ActionResolverContext)
public abstract string GetPossibleMatchesString(ref ActionResolverContext context)
Parameters
ActionResolverContext context

Returns
System.String

GetResolver(InspectorProperty, String)
public static ActionResolver GetResolver(InspectorProperty property, string resolvedString)
Parameters
InspectorProperty property

System.String resolvedString

Returns
ActionResolver

GetResolver(InspectorProperty, String, NamedValue[])
public static ActionResolver GetResolver(InspectorProperty property, string resolvedString, params NamedValue[] namedArgs)
Parameters
InspectorProperty property

System.String resolvedString

NamedValue[] namedArgs

Returns
ActionResolver

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

Register(ActionResolverCreator, Double)
public static void Register(ActionResolverCreator valueResolverCreator, double order = 0)
Parameters
ActionResolverCreator valueResolverCreator

System.Double order

TryCreateAction(ref ActionResolverContext)
public abstract ResolvedAction TryCreateAction(ref ActionResolverContext context)
Parameters
ActionResolverContext context

Returns
Sirenix.OdinInspector.Editor.ActionResolvers.ResolvedAction