C# 클래스 NServiceBus.Unicast.Subscriptions.MessageType

Representation of a message type that clients can be subscribed to.
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
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.

비공개 메소드들

메소드 설명
ParseVersion ( string versionString ) : System.Version

메소드 상세

Equals() 공개 메소드

Equality, only major version is used.
public Equals ( MessageType other ) : bool
other MessageType
리턴 bool

Equals() 공개 메소드

Equality, only Type is same.
public Equals ( object obj ) : bool
obj object
리턴 bool

GetHashCode() 공개 메소드

Gets Hash Code.
public GetHashCode ( ) : int
리턴 int

MessageType() 공개 메소드

Initializes the message type from the given type.
public MessageType ( Type type ) : System
type System.Type
리턴 System

MessageType() 공개 메소드

Initializes the message type from the given string.
public MessageType ( string messageTypeString ) : System
messageTypeString string
리턴 System

MessageType() 공개 메소드

Initializes the message type from the given string.
public MessageType ( string typeName, System.Version version ) : System
typeName string
version System.Version
리턴 System

MessageType() 공개 메소드

Initializes the message type from the given string.
public MessageType ( string typeName, string versionString ) : System
typeName string
versionString string
리턴 System

ToString() 공개 메소드

Overridden to append Version along with Type Name.
public ToString ( ) : string
리턴 string

operator() 공개 정적인 메소드

Equality.
public static operator ( ) : bool
리턴 bool