Interface IGetsNonGenericMessageProvider
An object which can get an instance of IGetsFailureMessage from a message provider type.
Namespace: CSF.Validation.Messages
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IGetsNonGenericMessageProvider
Methods
| Improve this Doc View SourceGetNonGenericFailureMessageProvider(MessageProviderTypeInfo, Type)
Gets the failure message provider for the specified type and original rule interface.
Declaration
IGetsFailureMessage GetNonGenericFailureMessageProvider(MessageProviderTypeInfo providerType, Type ruleInterface)
Parameters
| Type | Name | Description |
|---|---|---|
| MessageProviderTypeInfo | providerType | The message provider type. |
| System.Type | ruleInterface | The interface used for the original rule. |
Returns
| Type | Description |
|---|---|
| IGetsFailureMessage | An implementation of IGetsFailureMessage. |