Version 3.3.1.2

SelfValidationResultItemExtensions class

Namespace: Sirenix.OdinInspector
Assembly: Sirenix.OdinInspector.Attributes
public static class SelfValidationResultItemExtensions
Inheritance
  • System.Object
  • SelfValidationResultItemExtensions

Methods

EnableRichText(ref SelfValidationResult.ResultItem)
public static SelfValidationResult.ResultItem EnableRichText(this ref SelfValidationResult.ResultItem item)
SetSelectionObject(ref SelfValidationResult.ResultItem, Object)
public static SelfValidationResult.ResultItem SetSelectionObject(this ref SelfValidationResult.ResultItem item, Object uObj)
Parameters
SelfValidationResult.ResultItem item

UnityEngine.Object uObj

WithButton(ref SelfValidationResult.ResultItem, String, Action)
public static SelfValidationResult.ResultItem WithButton(this ref SelfValidationResult.ResultItem resultItem, string name, Action onClick)
Parameters
SelfValidationResult.ResultItem resultItem

System.String name

System.Action onClick

WithContextClick(ref SelfValidationResult.ResultItem, SelfValidationResult.ContextMenuItem)
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, SelfValidationResult.ContextMenuItem onContextClick)
WithContextClick(ref SelfValidationResult.ResultItem, Func<IEnumerable<SelfValidationResult.ContextMenuItem>>)
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, Func<IEnumerable<SelfValidationResult.ContextMenuItem>> onContextClick)
Parameters
SelfValidationResult.ResultItem item

System.Func<System.Collections.Generic.IEnumerable<SelfValidationResult.ContextMenuItem>> onContextClick

WithContextClick(ref SelfValidationResult.ResultItem, String, Action)
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, string path, Action onClick)
Parameters
SelfValidationResult.ResultItem item

System.String path

System.Action onClick

WithContextClick(ref SelfValidationResult.ResultItem, String, Boolean, Action)
public static SelfValidationResult.ResultItem WithContextClick(this ref SelfValidationResult.ResultItem item, string path, bool on, Action onClick)
Parameters
SelfValidationResult.ResultItem item

System.String path

System.Boolean on

System.Action onClick

WithFix(ref SelfValidationResult.ResultItem, SelfFix)
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, SelfFix fix)
WithFix(ref SelfValidationResult.ResultItem, Action, Boolean)
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, Action fix, bool offerInInspector = true)
Parameters
SelfValidationResult.ResultItem item

System.Action fix

System.Boolean offerInInspector

WithFix(ref SelfValidationResult.ResultItem, String, Action, Boolean)
public static SelfValidationResult.ResultItem WithFix(this ref SelfValidationResult.ResultItem item, string title, Action fix, bool offerInInspector = true)
Parameters
SelfValidationResult.ResultItem item

System.String title

System.Action fix

System.Boolean offerInInspector

WithFix<T>(ref SelfValidationResult.ResultItem, Action<T>, Boolean)
public static SelfValidationResult.ResultItem WithFix<T>(this ref SelfValidationResult.ResultItem item, Action<T> fix, bool offerInInspector = true)
    where T : new()
Parameters
SelfValidationResult.ResultItem item

System.Action<T> fix

System.Boolean offerInInspector

Type Parameters
T

WithFix<T>(ref SelfValidationResult.ResultItem, String, Action<T>, Boolean)
public static SelfValidationResult.ResultItem WithFix<T>(this ref SelfValidationResult.ResultItem item, string title, Action<T> fix, bool offerInInspector = true)
    where T : new()
Parameters
SelfValidationResult.ResultItem item

System.String title

System.Action<T> fix

System.Boolean offerInInspector

Type Parameters
T

WithMetaData(ref SelfValidationResult.ResultItem, Object, Attribute[])
public static SelfValidationResult.ResultItem WithMetaData(this ref SelfValidationResult.ResultItem resultItem, object value, params Attribute[] attributes)
Parameters
SelfValidationResult.ResultItem resultItem

System.Object value

System.Attribute[] attributes

WithMetaData(ref SelfValidationResult.ResultItem, String, Object, Attribute[])
public static SelfValidationResult.ResultItem WithMetaData(this ref SelfValidationResult.ResultItem resultItem, string name, object value, params Attribute[] attributes)
Parameters
SelfValidationResult.ResultItem resultItem

System.String name

System.Object value

System.Attribute[] attributes

WithSceneGUI(ref SelfValidationResult.ResultItem, Action)
public static SelfValidationResult.ResultItem WithSceneGUI(this ref SelfValidationResult.ResultItem item, Action onSceneGUI)
Parameters
SelfValidationResult.ResultItem item

System.Action onSceneGUI