Show / Hide Table of Contents

Class ManifestFromBuilderProvider

A service which gets a ValidationManifest from an instance of IBuildsValidator<TValidated>.

Inheritance
System.Object
ManifestFromBuilderProvider
Implements
IGetsManifestFromBuilder
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.dll
Syntax
public class ManifestFromBuilderProvider : IGetsManifestFromBuilder

Constructors

| Improve this Doc View Source

ManifestFromBuilderProvider(IGetsValidatorBuilder)

Initialises a new instance of ManifestFromBuilderProvider.

Declaration
public ManifestFromBuilderProvider(IGetsValidatorBuilder builderFactory)
Parameters
Type Name Description
IGetsValidatorBuilder builderFactory

A factory for getting instances of ValidatorBuilder<TValidated>.

Exceptions
Type Condition
System.ArgumentNullException

If the builderFactory is null.

Methods

| Improve this Doc View Source

GetManifest<TValidated>(IBuildsValidator<TValidated>)

Gets a validation manifest from the validator-builder.

Declaration
public ValidationManifest GetManifest<TValidated>(IBuildsValidator<TValidated> builder)
Parameters
Type Name Description
IBuildsValidator<TValidated> builder

The validation builder instance.

Returns
Type Description
ValidationManifest

A validation manifest, created using the validation-builder.

Type Parameters
Name Description
TValidated

The validated object type.

Exceptions
Type Condition
System.ArgumentNullException

If builder is null.

Implements

IGetsManifestFromBuilder
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX