Interface IGetsMessageProviderFactoryStrategy
An object which selects and returns a strategy for getting a non-generic message provider.
Namespace: CSF.Validation.Messages
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IGetsMessageProviderFactoryStrategy
Methods
| Improve this Doc View SourceGetMessageProviderFactory(MessageProviderTypeInfo, Type)
Gets an appropriate strategy implementation for getting a message provider. If no suitable strategy is available then this method will return a null reference.
Declaration
IGetsNonGenericMessageProvider GetMessageProviderFactory(MessageProviderTypeInfo messageProviderTypeInfo, Type ruleInterface)
Parameters
Type | Name | Description |
---|---|---|
MessageProviderTypeInfo | messageProviderTypeInfo | The candidate message provider type. |
System.Type | ruleInterface | The interface used for the validation rule. |
Returns
Type | Description |
---|---|
IGetsNonGenericMessageProvider | Either a IGetsNonGenericMessageProvider or a null reference. |