Version 3.0.0.2

ActionResolver class

Namespace: Sirenix.OdinInspector.Editor.ActionResolvers
Assembly: Sirenix.OdinInspector.Editor
public sealed class ActionResolver
Inheritance
  • System.Object
  • ActionResolver

Constructors

ActionResolver()
public ActionResolver()

Fields

Action
public ResolvedAction Action
Context
public ActionResolverContext Context

Properties

ErrorMessage
public string ErrorMessage { get; }
HasError
public bool HasError { get; }

Methods

DoAction(Int32)
public void DoAction(int selectionIndex = 0)
Parameters
System.Int32 selectionIndex

DoActionForAllSelectionIndices()
public void DoActionForAllSelectionIndices()
DrawError()
public void DrawError()
DrawErrors(ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver)
public static void DrawErrors(ActionResolver r1 = null, ActionResolver r2 = null, ActionResolver r3 = null, ActionResolver r4 = null, ActionResolver r5 = null, ActionResolver r6 = null, ActionResolver r7 = null, ActionResolver r8 = null)
DrawErrors(ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver[])
public static void DrawErrors(ActionResolver r1 = null, ActionResolver r2 = null, ActionResolver r3 = null, ActionResolver r4 = null, ActionResolver r5 = null, ActionResolver r6 = null, ActionResolver r7 = null, ActionResolver r8 = null, params ActionResolver[] remainder)
Get(InspectorProperty, String)
public static ActionResolver Get(InspectorProperty property, string resolvedString)
Parameters
InspectorProperty property

System.String resolvedString

Returns
ActionResolver

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

System.String resolvedString

NamedValue[] namedArgs

Returns
ActionResolver

GetCombinedErrors(ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver)
public static string GetCombinedErrors(ActionResolver r1 = null, ActionResolver r2 = null, ActionResolver r3 = null, ActionResolver r4 = null, ActionResolver r5 = null, ActionResolver r6 = null, ActionResolver r7 = null, ActionResolver r8 = null)
Returns
System.String

GetCombinedErrors(ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver, ActionResolver[])
public static string GetCombinedErrors(ActionResolver r1, ActionResolver r2, ActionResolver r3, ActionResolver r4, ActionResolver r5, ActionResolver r6, ActionResolver r7, ActionResolver r8, params ActionResolver[] remainder)
Returns
System.String