Version 3.3.1.2

SelfValidationResult class

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

Constructors

SelfValidationResult()
public SelfValidationResult()

Properties

Count
public int Count { get; }
Item[Int32]
public SelfValidationResult.ResultItem this[int index] { get; }
Parameters
System.Int32 index

Methods

Add(SelfValidationResult.ResultItem)
public SelfValidationResult.ResultItem Add(SelfValidationResult.ResultItem item)
Add(ValidatorSeverity, String)
public SelfValidationResult.ResultItem Add(ValidatorSeverity severity, string message)
Parameters
ValidatorSeverity severity

System.String message

AddError(String)
public SelfValidationResult.ResultItem AddError(string error)
Parameters
System.String error

AddWarning(String)
public SelfValidationResult.ResultItem AddWarning(string warning)
Parameters
System.String warning