Version 3.1.1.0

PersistentValidationResult class

Namespace: Sirenix.OdinValidator.Editor
Assembly: Sirenix.OdinValidator.Editor
public class PersistentValidationResult
Inheritance
  • System.Object
  • PersistentValidationResult

Constructors

PersistentValidationResult(ValidationResult, DynamicObjectAddress)
public PersistentValidationResult(ValidationResult result, DynamicObjectAddress address)
Parameters
ValidationResult result

DynamicObjectAddress address

PersistentValidationResult(String, String, Type, Int32, ValidationResultType)
public PersistentValidationResult(string path, string message, Type validatorType, int validatorIndex, ValidationResultType resultType)
Parameters
System.String path

System.String message

System.Type validatorType

System.Int32 validatorIndex

ValidationResultType resultType

PersistentValidationResult(String, String, Type, Int32, ValidationResultType, DynamicObjectAddress)
public PersistentValidationResult(string path, string message, Type validatorType, int validatorIndex, ValidationResultType resultType, DynamicObjectAddress objectAddress)
Parameters
System.String path

System.String message

System.Type validatorType

System.Int32 validatorIndex

ValidationResultType resultType

DynamicObjectAddress objectAddress

Fields

DynamicObjectAddress
public DynamicObjectAddress DynamicObjectAddress
ErrorCount
public int ErrorCount
Ignore
public static readonly PersistentValidationResult Ignore
Path
public string Path
ValidationTimeMS
public double ValidationTimeMS
ValidatorIndex
public int ValidatorIndex
ValidatorType
public Type ValidatorType
WarningCount
public int WarningCount

Properties

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

Methods

Explode()
public IEnumerable<PersistentValidationResult> Explode()
Returns
System.Collections.Generic.IEnumerable<PersistentValidationResult>

Explode(PersistentValidationResult[], Int32)
public void Explode(PersistentValidationResult[] dst, int index)
Parameters
PersistentValidationResult[] dst

System.Int32 index

Explode(List<PersistentValidationResult>)
public void Explode(List<PersistentValidationResult> results)
Parameters
System.Collections.Generic.List<PersistentValidationResult> results

ToNiceLogString()
public string ToNiceLogString()
Returns
System.String