Show / Hide Table of Contents

Interface IGetsFailureMessageProvider

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

Namespace: CSF.Validation.Messages
Assembly: CSF.Validation.Abstractions.dll
Syntax
public interface IGetsFailureMessageProvider

Methods

| Improve this Doc View Source

GetProvider(ValidationRuleResult)

Gets the most appropriate message provider implementation for getting a feedback message for the specified ValidationRuleResult.

Declaration
IGetsFailureMessage GetProvider(ValidationRuleResult ruleResult)
Parameters
Type Name Description
ValidationRuleResult ruleResult

The validation rule result for which to get a message provider.

Returns
Type Description
IGetsFailureMessage

Either an implementation of IGetsFailureMessage, or a null reference, if no message provider is suitable for the result.

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