Class ValidationManifest
The root object of a validation manifest.
Inheritance
System.Object
ValidationManifest
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.Manifest
Assembly: CSF.Validation.Abstractions.dll
Syntax
public class ValidationManifest : IManifestNode
Remarks
This type serves as the root a model that describes how a validator should operate, such as which rules it should execute and how they should be configured.
The validation manifest is the model by which validators are described, including how they should validate objects and values.
The validation manifest objects are not particularly suited to serialization, as they support the use of types that cannot be easily serialized. If you are looking for a way to create/define a validator using serialized data then please read the article Using the Manifest Model.
Properties
| Improve this Doc View SourceRootValue
Gets or sets the root value for the current manifest.
Declaration
public ManifestItem RootValue { get; set; }
Property Value
Type | Description |
---|---|
ManifestItem |
Remarks
| Improve this Doc View SourceValidatedType
Gets or sets the type of object which the validator should validate.
Declaration
public Type ValidatedType { get; set; }
Property Value
Type | Description |
---|---|
System.Type |