Show / Hide Table of Contents

Class MessageProviderTypeInfo

Represents information about a message provider type.

Inheritance
System.Object
MessageProviderTypeInfo
MessageProviderInfo
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 MessageProviderTypeInfo

Constructors

| Improve this Doc View Source

MessageProviderTypeInfo(MessageProviderTypeInfo)

Initialises a new instance of MessageProviderTypeInfo.

Declaration
protected MessageProviderTypeInfo(MessageProviderTypeInfo copyFrom)
Parameters
Type Name Description
MessageProviderTypeInfo copyFrom

An instance to copy from.

Exceptions
Type Condition
System.ArgumentNullException

If copyFrom is null.

| Improve this Doc View Source

MessageProviderTypeInfo(Type, Int32)

Initialises a new instance of MessageProviderTypeInfo.

Declaration
public MessageProviderTypeInfo(Type providerType, int priority)
Parameters
Type Name Description
System.Type providerType

The provider type.

System.Int32 priority

The priority.

Exceptions
Type Condition
System.ArgumentNullException

If providerType is null.

Properties

| Improve this Doc View Source

Priority

Gets the numeric priority of the current provider instane. A higher number means a more important provider.

Declaration
public int Priority { get; protected set; }
Property Value
Type Description
System.Int32
| Improve this Doc View Source

ProviderType

Gets a System.Type object relating to the message provider.

Declaration
public Type ProviderType { get; }
Property Value
Type Description
System.Type
Remarks

Where the current MessageProviderTypeInfo is a specialisation which also provides access to the message provider itself, this type relates to the original message provider type. Even if the actual message provider instance is wrapped using an adapter or similar, this type relates to the original/innermost type in the structure of wrappers.

| Improve this Doc View Source

ProviderTypeInfo

Gets a System.Reflection.TypeInfo object relating to the message provider.

Declaration
public TypeInfo ProviderTypeInfo { get; }
Property Value
Type Description
System.Reflection.TypeInfo
Remarks

Where the current MessageProviderTypeInfo is a specialisation which also provides access to the message provider itself, this type info relates to the original message provider type. Even if the actual message provider instance is wrapped using an adapter or similar, this type info relates to the original/innermost type info in the structure of wrappers.

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