Class InstanceMessageProviderInfo
A specialisation of MessageProviderInfo which includes an existing instance of a message provider.
Inherited Members
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 SourceInstanceMessageProviderInfo(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 SourceMessageProvider
Gets a reference to the message provider instance.
Declaration
public override IGetsFailureMessage MessageProvider { get; }
Property Value
Type | Description |
---|---|
IGetsFailureMessage |