Version 3.3.1.2

ResultItem struct

Namespace: Sirenix.OdinInspector.Editor.Validation
Assembly: Sirenix.OdinInspector.Editor
public struct ResultItem : IEnumerable

Constructors

ResultItem(String, ValidationResultType)
public ResultItem(string message, ValidationResultType type)
Parameters
System.String message

ValidationResultType type

Fields

Fix
public Fix Fix
Message
public string Message
MetaData
public ResultItemMetaData[] MetaData
OnContextClick
public Action<GenericMenu> OnContextClick
OnSceneGUI
public Action OnSceneGUI
ResultType
public ValidationResultType ResultType
RichText
public bool RichText
SelectionObject
public Object SelectionObject

Methods

Error(String)
public static ResultItem Error(string errorMessage)
Parameters
System.String errorMessage

Returns
ResultItem

GetEnumerator()
public IEnumerator GetEnumerator()
Returns
System.Collections.IEnumerator

Warning(String)
public static ResultItem Warning(string errorMessage)
Parameters
System.String errorMessage

Returns
ResultItem

Extension Methods