Struct ValidationContext

ValidationContext structure

Utility class used in the process of model validation.

public struct ValidationContext

Constructors

NameDescription
ValidationContext(ValidationResult)

Properties

NameDescription
Root { get; }
TryFix { get; }

Methods

NameDescription
AreEqual<TValue>(ValueLocation, TValue, TValue)
AreJoints(ValueLocation, IList<Vector4>, int)
AreNormals(ValueLocation, IList<Vector3>)
ArePositions(ValueLocation, IList<Vector3>)
AreRotations(ValueLocation, IList<Quaternion>)
AreSameReference<TRef>(ValueLocation, TRef, TRef)
AreTangents(ValueLocation, IList<Vector4>)
EnumsAreEqual<TValue>(ValueLocation, TValue, TValue)
GetContext(JsonSerializable)
IsAnyOf(ValueLocation, AttributeFormat, params AttributeFormat[])
IsAnyOf<T>(ValueLocation, T, params T[])
IsDefaultOrWithin<TValue>(ValueLocation, TValue?, TValue, TValue)
IsDefined<T>(ValueLocation, T)
IsDefined<T>(ValueLocation, T?)
IsGreater<TValue>(ValueLocation, TValue, TValue)
IsGreaterOrEqual<TValue>(ValueLocation, TValue, TValue)
IsInRange<T>(ValueLocation, T, T, T)
IsJsonSerializable(ValueLocation, object)
IsLess<TValue>(ValueLocation, TValue, TValue)
IsLessOrEqual<TValue>(ValueLocation, TValue, TValue)
IsMatrix(ValueLocation, ref Matrix4x4, bool, bool)
IsMatrix4x3(ValueLocation, ref Matrix4x4, bool, bool)
IsMultipleOf(ValueLocation, int, int)
IsNormal(ValueLocation, ref Vector3)
IsNullOrIndex<T>(ValueLocation, int?, IReadOnlyList<T>)
IsNullOrInRange<T>(ValueLocation, int?, int, IReadOnlyList<T>)
IsNullOrMatrix(ValueLocation, Matrix4x4?, bool, bool)
IsNullOrMatrix4x3(ValueLocation, Matrix4x4?, bool, bool)
IsNullOrValidURI(ValueLocation, string, params string[])
IsPosition(ValueLocation, ref Vector3)
IsRotation(ValueLocation, ref Quaternion)
IsSetCollection<T>(ValueLocation, IEnumerable<T>)
IsTrue(ValueLocation, bool, string)
IsUndefined<T>(ValueLocation, T)
IsUndefined<T>(ValueLocation, T?)
IsValidURI(ValueLocation, string, params string[])
MustBeNull(ValueLocation, object)
NonNegative(ValueLocation, int?)
NotNull(ValueLocation, object)
That(Action)

See Also