Namespace CSF.Validation.ValidatorBuilding
Classes
BuilderValidatedTypeProvider
Default implementation of IGetsValidatedTypeForBuilderType which uses reflection and Linq to determine the builder type's generic type.
ImportedValidatorBuilderManifestFactory
A factory service which gets an implementation of ValidatorBuilderContext based upon a type that implements IBuildsValidator<TValidated>.
IsClosedGenericBasedOnOpenGenericSpecification
A specification for types that are a closed form of an open generic type.
ManifestIdentifierFactory
A factory service for creating instances of ManifestRuleIdentifier.
RelativeRuleIdentifier
A model for information which may uniquely identity a validation rule, based upon the logical 'position' (within a validator) of another rule. In other words, it uniquely identifies a rule, based upon a current rule.
RelativeToManifestRuleIdentifierConverter
A service which maps/converts instances of RelativeRuleIdentifier to ManifestRuleIdentifier.
RuleBuilder<TRule>
A builder which is used to define & configure a single instance of a validation rule.
RuleBuilderFactory
A factory service which gets a RuleBuilder<TRule> from a specified context and rule definition action.
ValidatorBuilder<TValidated>
A builder which is used to configure how an object should be validated.
ValidatorBuilderContext
A model for contextual information about a validator-builder.
ValidatorBuilderContextFactory
A factory service for getting instances of ValidatorBuilderContext.
ValidatorBuilderFactory
A factory service which gets instances of IConfiguresValidator<TValidated>.
ValueAccessorBuilder<TValidated, TValue>
A builder which is used to configure how a member or other value of an object should be validated.
ValueAccessorBuilderFactory
A factory service which gets instances of IConfiguresValueAccessor<TValidated, TValue>.
Interfaces
IBuildsRelativeRuleIdentifier
A builder object which may indicate optional information about the rule being referred-to.
IBuildsRelativeRuleIdentifierType
A builder object which may indicate the type of the rule being referred-to. The rule type is the only mandatory piece of information.
IConfiguresContext
An object which can configure a ValidatorBuilderContext.
IConfiguresRule<TRule>
A builder service which is used to define & configure a single instance of a validation rule.
IConfiguresValidator<TValidated>
A builder service which may be used to configure a validator as it is being built.
IConfiguresValueAccessor<TValidated, TValue>
A builder service which configures how a value (retrieved from a different validated object) should be validated.
IGetsManifestRuleIdentifier
An object which can create instances of ManifestRuleIdentifier for rules.
IGetsManifestRuleIdentifierFromRelativeIdentifier
A service which may convert a RelativeRuleIdentifier into a ManifestRuleIdentifier.
IGetsRuleBuilder
An object which gets a RuleBuilder<TRule> from a specified context and rule definition action.
IGetsValidatedTypeForBuilderType
An object which can get the generic validated type, given the System.Type of a validator builder class.
IGetsValidationManifest
An object which can get a ValidationManifest.
IGetsValidatorBuilder
An object which creates instances of ValidatorBuilder<TValidated>.
IGetsValidatorBuilderContext
An object which gets ValidatorBuilderContext instances for a number of common scenarios.
IGetsValidatorBuilderContextFromBuilder
An object which gets a ValidatorBuilderContext (which in turn may get a collection of manifest validation rules) from a specified type that implements IBuildsValidator<TValidated>.
IGetsValueAccessorBuilder
An object which gets instances of ValueAccessorBuilder<TValidated, TValue> for a specified rule builder context.
IHasValidationBuilderContext
An object which exposes a ValidatorBuilderContext as a property.