Show / Hide Table of Contents

Class ValidationManifest

The root object of a validation manifest.

Inheritance
System.Object
ValidationManifest
Implements
IManifestNode
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 Source

RootValue

Gets or sets the root value for the current manifest.

Declaration
public ManifestItem RootValue { get; set; }
Property Value
Type Description
ManifestItem
Remarks

The root item (referenced by this property) must be of ItemType Value and nothing else.

| Improve this Doc View Source

ValidatedType

Gets or sets the type of object which the validator should validate.

Declaration
public Type ValidatedType { get; set; }
Property Value
Type Description
System.Type

Implements

IManifestNode

See Also

ManifestRule
ManifestRuleIdentifier
ManifestItem
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX