Show / Hide Table of Contents

Namespace CSF.Validation.Messages

Classes

AllowAllUsageCriteriaProvider

A special case of IHasFailureMessageUsageCriteria which represents "no criteria". It is hard-coded to return true for all scenarios.

CriteriaApplyingMessageProviderInfoDecorator

A decorator for IGetsMessageProviderInfo which applies/filters the result of the wrapped service based upon arbitrary criteria if they are present.

DecoratorBasedMessageProviderInfoFactory

A factory which builds up a decorator stack for the IGetsMessageProviderInfo service.

DoubleGenericMessageProviderStrategy

A strategy for getting IGetsFailureMessage from a type that implements the generic IGetsFailureMessage<TValidated, TParent>.

FailureMessageCriteriaAdapter<TValidated>

Adapter class which allows a IHasFailureMessageUsageCriteria<TValidated> to be used as a IHasFailureMessageUsageCriteria.

FailureMessageCriteriaAdapter<TValidated, TParent>

Adapter class which allows a IHasFailureMessageUsageCriteria<TValidated> to be used as a IHasFailureMessageUsageCriteria.

FailureMessageProviderAdapter<TValidated>

Adapter which allows a IGetsFailureMessage<TValidated> to be used as a IGetsFailureMessage.

FailureMessageProviderAdapter<TValidated, TParent>

Adapter which allows a IGetsFailureMessage<TValidated, TParent> to be used as a IGetsFailureMessage.

FailureMessageProviderSelector

A service which can get the appropriate failure message provider for a specified ValidationRuleResult.

FailureMessageStrategyAttribute

Decorates a failure message strategy class to indicate where that strategy class may be used.

FailureMessageUsageCriteriaFactory

A service which gets a IHasFailureMessageUsageCriteria for the specified IGetsFailureMessage

FailureMessageValidationResultPopulator

A service which converts a ValidationResult into a ValidationResult by getting messages for each rule result within the original result and adding a message, where appropriate.

InstanceMessageProviderInfo

A specialisation of MessageProviderInfo which includes an existing instance of a message provider.

InstrumentingValidaionRuleResultWithMessageDecorator

Decorator for IGetsValidationRuleResultWithMessage which adds instrumentation data to the result.

LazyMessageProviderInfo

A specialisation of MessageProviderInfo which resolves the MessageProvider lazily, only instantiating it upon usage.

MessageProviderFactoryStrategyProvider

A strategy-selector/factory class which gets the appropriate strategy implementation for getting a failure message provider implementation for a specified message provider type and rule interface.

MessageProviderInfo

Represents information about a message provider type. An object which implements IGetsFailureMessage, possibly via an adapter.

MessageProviderInfoFactory

A factory which gets a collection of MessageProviderInfo for a validation rule result.

MessageProviderRegistry

A registry of the available System.Type of message-provider services.

MessageProviderTypeInfo

Represents information about a message provider type.

MessageProviderTypeMatchingInfoProvider

A service which gets a collection of the IGetsMessageProviderTypeMatchingInfoForRule for a message provider, based on its FailureMessageStrategyAttribute.

MessageProviderTypeOptions

An options type that indicates the collection of System.Type that are to be used as failure message providers.

NonGenericMessageProviderStrategy

A strategy for getting IGetsFailureMessage from a type that already implements that same non-generic interface.

NullExcludingMessageProviderInfoDecorator

A decorator for IGetsMessageProviderInfo which excludes message providers which have a null implementation.

RuleWithMessageCandidateTypeDecorator

A decorator for IGetsCandidateMessageTypes which adds an additional message provider for rules which implement a rule-with-message interface.

RuleWithMessageProviderFactory

Default implementation of IGetsRuleWithMessageProvider.

SingleGenericMessageProviderStrategy

A strategy for getting IGetsFailureMessage from a type that implements the generic IGetsFailureMessage<TValidated>.

SingleRuleValidationResultMessageEnricher

Default implementation of IGetsValidationRuleResultWithMessage.

UseExistingInstanceMessageProviderStrategy

A strategy for IGetsNonGenericMessageProvider which uses an existing instance from a InstanceMessageProviderInfo.

Interfaces

IAddsFailureMessagesToResult

A service object which adds huaman-readable feedback messages (as appropriate) to a ValidationResult.

IGetsCandidateMessageTypes

An object which is used to get type information about message provider types which could potentially provide the message for a specified validation rule result.

IGetsFailureMessage

An object which can get a human-readable message relating to the failure of a single validation rule.

IGetsFailureMessage<TValidated>

An object which can get a human-readable message relating to the failure of a single validation rule.

IGetsFailureMessage<TValidated, TParent>

An object which can get a human-readable message relating to the failure of a single validation rule.

IGetsFailureMessageProvider

An object which can get the appropriate failure message provider for a specified ValidationRuleResult.

IGetsMessageProviderFactoryStrategy

An object which selects and returns a strategy for getting a non-generic message provider.

IGetsMessageProviderInfo

An object which gets a collection of the MessageProviderInfo applicable for a specified rule result.

IGetsMessageProviderInfoFactory

An object which can get an instance of IGetsMessageProviderInfo.

IGetsMessageProviderTypeMatchingInfoForRule

An object which determines whether a corresponding type is a candidate for providing a message for a specified ValidationRuleResult.

IGetsNonGenericMessageCriteria

An object which can get an instance of IHasFailureMessageUsageCriteria from an instance of MessageProviderInfo.

IGetsNonGenericMessageProvider

An object which can get an instance of IGetsFailureMessage from a message provider type.

IGetsRuleMatchingInfoForMessageProviderType

An object which gets a collection of the IGetsMessageProviderTypeMatchingInfoForRule applicable for a specified message provider type.

IGetsRuleWithMessageProvider

An object which can get an instance of IGetsValidationRuleResultWithMessage applicable for the specified options.

IGetsValidationRuleResultWithMessage

An object which can get a copy of a single ValidationRuleResult, possibly with an added validation feedback message.

IHasFailureMessageUsageCriteria

An object which can use custom logic to determine whether it may be used to provide a failure message.

IHasFailureMessageUsageCriteria<TValidated>

An object which can use custom logic to determine whether it may be used to provide a failure message.

IHasFailureMessageUsageCriteria<TValidated, TParent>

An object which can use custom logic to determine whether it may be used to provide a failure message.

IHasWrappedFailureMessageProvider

An object which wraps (like in the Adapter Pattern) an implementation of a failure message provider.

In This Article
Back to top Generated by DocFX