C# Class NServiceBus.Unicast.Subscriptions.MessageType

Representation of a message type that clients can be subscribed to.
Afficher le fichier Open project: Particular/NServiceBus Class Usage Examples

Méthodes publiques

Méthode Description
Equals ( MessageType other ) : bool

Equality, only major version is used.

Equals ( object obj ) : bool

Equality, only Type is same.

GetHashCode ( ) : int

Gets Hash Code.

MessageType ( Type type ) : System

Initializes the message type from the given type.

MessageType ( string messageTypeString ) : System

Initializes the message type from the given string.

MessageType ( string typeName, System.Version version ) : System

Initializes the message type from the given string.

MessageType ( string typeName, string versionString ) : System

Initializes the message type from the given string.

ToString ( ) : string

Overridden to append Version along with Type Name.

operator ( ) : bool

Equality.

Private Methods

Méthode Description
ParseVersion ( string versionString ) : System.Version

Method Details

Equals() public méthode

Equality, only major version is used.
public Equals ( MessageType other ) : bool
other MessageType
Résultat bool

Equals() public méthode

Equality, only Type is same.
public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

Gets Hash Code.
public GetHashCode ( ) : int
Résultat int

MessageType() public méthode

Initializes the message type from the given type.
public MessageType ( Type type ) : System
type System.Type
Résultat System

MessageType() public méthode

Initializes the message type from the given string.
public MessageType ( string messageTypeString ) : System
messageTypeString string
Résultat System

MessageType() public méthode

Initializes the message type from the given string.
public MessageType ( string typeName, System.Version version ) : System
typeName string
version System.Version
Résultat System

MessageType() public méthode

Initializes the message type from the given string.
public MessageType ( string typeName, string versionString ) : System
typeName string
versionString string
Résultat System

ToString() public méthode

Overridden to append Version along with Type Name.
public ToString ( ) : string
Résultat string

operator() public static méthode

Equality.
public static operator ( ) : bool
Résultat bool