Version 3.1.1.0

ResultItem struct

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

Constructors

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

ValidationResultType type

Fix fix

Fields

Fix
public Fix Fix
Message
public string Message
MetaData
public ResultItemMetaData[] MetaData
ResultType
public ValidationResultType ResultType

Methods

Add(String, Object)
public void Add(string key, object value)
Parameters
System.String key

System.Object value

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

GetMetaDataValueOrDefault<T>(String)
public T GetMetaDataValueOrDefault<T>(string key)
Parameters
System.String key

Returns
T

Type Parameters
T

Extension Methods