Namespace CSF.Validation.ManifestModel
Classes
AccessorFunctionAndType
A simple model which describes a function that provides access to a value.
ContextToManifestCollectionItemConverter
A Chain of Responsibility impl of IGetsManifestItemFromModelToManifestConversionContext which deals with contexts for CollectionItem.
ContextToManifestPolymorphicTypeConverter
A Chain of Responsibility impl of IGetsManifestItemFromModelToManifestConversionContext which deals with contexts for PolymorphicType.
ContextToManifestValueConverter
A Chain of Responsibility impl of IGetsManifestItemFromModelToManifestConversionContext which deals with contexts for Manifest.
ContextToRecursiveManifestItemConverter
A Chain of Responsibility impl of IGetsManifestItemFromModelToManifestConversionContext which deals with contexts for RecursiveManifestValue.
IdentityAccessorPopulatingManifestFromModelConversionContextDecorator
A decorator for IGetsManifestItemFromModelToManifestConversionContext which populates the IdentityAccessor if the result of the appropriate type.
ModelAndManifestValuePair
A simple object that describes both a ManifestItem instanec and also the model Value instance which was used to create it.
ModelRuleToManifestRuleConverter
A service which converts the rules within a Value into manifest rules and to add those rules to a corresponding ManifestItem
ModelToManifestConversionContext
A model which describes the contextual state required in order to convert a validation model into a validation manifest.
ModelToManifestValueConversionResult
A model which describes the result of ConvertAllValues(ModelToManifestConversionContext). This contains a root ManifestItem but also a collection of all of the manifest values which were converted, along with their original model values.
ModelValueToManifestValueConverter
A service which converts ModelToManifestConversionContext instances (containing a Value) into a hierarchy of ManifestItem, contained within a ModelToManifestValueConversionResult.
ReflectionDelegateFactory
A factory service which gets an accessor function via reflection.
RelativeIdentifier
A manifest model class that represents the relative identifier of a rule, within the context of another validation rule.
Rule
A manifest model class that represents a validation rule for a Value.
RuleConfigurationFactory
A factory service which can get an executable action that will configure a validation rule instance based on a series of specified property values.
RuleTypeResolver
A service which may be used to get a System.Type from a string rule-type name.
ThrowingContextToManifestItemConverter
An implementation of IGetsManifestItemFromModelToManifestConversionContext which throws an exception.
ValidationManifestFromModelConverter
A service which converts instances of Value into instances of ValidationManifest.
Value
A manifest model class representing a value to be validated.
Interfaces
IConvertsModelRulesToManifestRules
An object which may be used to convert the rules within a Value into manifest rules and to add those rules to a corresponding ManifestItem
IConvertsModelValuesToManifestValues
An object which can convert a ModelToManifestConversionContext (containing a Value) into a hierarchy of ManifestItem, contained within a ModelToManifestValueConversionResult.
IGetsAccessorFunction
An object which can provide an accessor function which represents getting a value from a named member of a specified type.
IGetsManifestItemFromModelToManifestConversionContext
An object which converts a ModelToManifestConversionContext into a ManifestItem.
IGetsPropertySetterAction
An object which can provide a setter action/delegate which represents setting a value into a named property of a specified type.
IGetsRuleConfiguration
An object which can get an executable action that will configure a validation rule instance based on a series of specified property values.
IGetsValidationManifestFromModel
An object which can get a ValidationManifest from a simplified (serialization-friendly) model.
IResolvesRuleType
An object which may be used to get a System.Type from a string rule-type name.
Enums
ModelToManifestConversionType
Represents the types of manifest model value which may be converted to manifest values.