Show / Hide Table of Contents

Class InstanceMessageProviderInfo

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

Inheritance
System.Object
MessageProviderTypeInfo
MessageProviderInfo
InstanceMessageProviderInfo
Inherited Members
MessageProviderInfo.GetOriginalProvider()
MessageProviderTypeInfo.ProviderType
MessageProviderTypeInfo.ProviderTypeInfo
MessageProviderTypeInfo.Priority
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: CSF.Validation.Messages
Assembly: CSF.Validation.Abstractions.dll
Syntax
public class InstanceMessageProviderInfo : MessageProviderInfo

Constructors

| Improve this Doc View Source

InstanceMessageProviderInfo(MessageProviderTypeInfo, IGetsFailureMessage)

Initialises a new instance of InstanceMessageProviderInfo.

Declaration
public InstanceMessageProviderInfo(MessageProviderTypeInfo copyFrom, IGetsFailureMessage messageProvider)
Parameters
Type Name Description
MessageProviderTypeInfo copyFrom

Type info from which to copy.

IGetsFailureMessage messageProvider

The message provider instance.

Exceptions
Type Condition
System.ArgumentNullException

If any parameter is null.

Properties

| Improve this Doc View Source

MessageProvider

Gets a reference to the message provider instance.

Declaration
public override IGetsFailureMessage MessageProvider { get; }
Property Value
Type Description
IGetsFailureMessage
Overrides
MessageProviderInfo.MessageProvider
  • Improve this Doc
  • View Source
In This Article
Back to top Generated by DocFX