Show / Hide Table of Contents

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 Source

GetMessageProviderFactory(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.

  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX