Class LazyMessageProviderInfo
A specialisation of Message
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 LazyMessageProviderInfo : MessageProviderInfo
Constructors
| Improve this Doc View SourceLazyMessageProviderInfo(MessageProviderInfo, Int32)
Initialises a new instance of Lazy
Declaration
public LazyMessageProviderInfo(MessageProviderInfo copyFrom, int priority)
Parameters
Type | Name | Description |
---|---|---|
Message |
copyFrom | Message provider info to copy-from. |
System. |
priority | A new priority value, replacing that within |
LazyMessageProviderInfo(MessageProviderTypeInfo, Lazy<IGetsFailureMessage>)
Initialises a new instance of Lazy
Declaration
public LazyMessageProviderInfo(MessageProviderTypeInfo typeInfo, Lazy<IGetsFailureMessage> messageProvider)
Parameters
Type | Name | Description |
---|---|---|
Message |
typeInfo | Message provider type info. |
System. |
messageProvider | A lazy message provider. |
Exceptions
Type | Condition |
---|---|
System. |
If either |
Properties
| Improve this Doc View SourceMessageProvider
Gets a reference to the message provider instance.
Declaration
public override IGetsFailureMessage MessageProvider { get; }
Property Value
Type | Description |
---|---|
IGets |