The ValidationBuilder type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | ValidationBuilder()()()() |
A generic constructor; where no validation messages, or path is passed in
A new internal list of validation messages is instantiated as part of this constructor
|
![]() | ValidationBuilder(String) |
A generic constructor with no validation messages passed in; however the path is specified
A new internal list of validation messages is instantiated as part of this constructor
|
![]() | ValidationBuilder(String, List<(Of <<'(ValidationMessage>)>>)) |
A generic constructor were both the path and the lsit of validation messages are passed in.
|
Methods
Name | Description | |
---|---|---|
![]() | AddValidationMessage |
This method adds a validation message to the lsit of validation messages
|
![]() | ArgumentRequiredCheck(String, ICollection) |
This validation method performs a check to ensure that the collection passed in contains some items
|
![]() | ArgumentRequiredCheck(String, DateTime) |
This validation method performs a check to ensure that the DateTime value is set
|
![]() | ArgumentRequiredCheck(String, Enum) |
This validation method performs a check to ensure that the enum passed in does not have a value
of undefined
|
![]() | ArgumentRequiredCheck(String, Object) |
This validation method performs a check to ensure that the object passed in is not null or empty in the
case of a string
|
![]() | ArgumentRequiredCheck(String, String) |
This validation method performs a check to ensure that the object passed in is not null or empty in the
case of a string
|
![]() | ArgumentRequiredCheck(String, Object, String) |
This validation method performs a check to ensure that the object passed in is not null or empty in the
case of a string
|
![]() | ArgumentRequiredCheck<(Of <<'(T>)>>)(String, Nullable<(Of <<'(T>)>>)) |
This validation method performs a check to ensure that the object passed in is not null
|
![]() | ChoiceCheck |
This validation method performs a check to ensure that only one of the items within the
passed in key value pair is not null or empty in the case of a string
|
![]() | Equals | (Inherited from Object.) |
![]() | Finalize | Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | HpiiCheck |
Validates an HPII number.
|
![]() | HpioCheck |
Validates an HPIO number.
|
![]() | HpioOidCheck |
Validates an HPIO number (including OID).
|
![]() | IhiCheck |
Validates an IHI number.
|
![]() | MatchCheck<(Of <<'(T>)>>) |
This validation method performs a match check on two objects
|
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | NoMatchCheck<(Of <<'(T>)>>) |
This validation method performs a check on two objects ensuring they do not match
|
![]() | OidCheck |
Validates an OID value.
|
![]() | OidQualifiedIdCheck |
Validates a fully qualified identifier
|
![]() | RangeCheck |
This validation method performs a range check on a collection of objects.
|
![]() | ToString | (Inherited from Object.) |
![]() | UuidCheck |
Validates a UUID value.
|
Extension Methods
Name | Description | |
---|---|---|
![]() | GetAttributeValue<(Of <<'(T, TExpected>)>>) |
Extension Methods for retrieving a value from an interface
(Defined by Extensions.) |
![]() | SerializeToXml()()()() | Overloaded.
Serializes any object to XML.
(Defined by Extensions.) |
![]() | SerializeToXml(String) | Overloaded.
Serializes any object to XML.
(Defined by Extensions.) |
Properties
Name | Description | |
---|---|---|
![]() | Messages |
The list of validation messages
|
![]() | Path |
The path to the property that is currently being validated
|
![]() | PathName |
The path to the property that is currently being validated without the trailing dot
|