C# Class NServiceBus.Unicast.Messages.MessageMetadataRegistry

Cache of message metadata.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
GetMessageMetadata ( Type messageType ) : MessageMetadata

Retrieves the MessageMetadata for the specified type.

GetMessageMetadata ( string messageTypeIdentifier ) : MessageMetadata

Retrieves the MessageMetadata for the message identifier.

Private Methods

Method Description
GetAllMessages ( ) : IEnumerable
GetParentTypes ( Type type ) : IEnumerable
GetType ( string messageTypeIdentifier ) : Type
MessageMetadataRegistry ( Conventions conventions ) : System
PlaceInMessageHierarchy ( Type type ) : int
RegisterMessageType ( Type messageType ) : MessageMetadata
RegisterMessageTypesFoundIn ( IList availableTypes ) : void

Method Details

GetMessageMetadata() public method

Retrieves the MessageMetadata for the specified type.
public GetMessageMetadata ( Type messageType ) : MessageMetadata
messageType System.Type The message type to retrieve metadata for.
return MessageMetadata

GetMessageMetadata() public method

Retrieves the MessageMetadata for the message identifier.
public GetMessageMetadata ( string messageTypeIdentifier ) : MessageMetadata
messageTypeIdentifier string The message identifier to retrieve metadata for.
return MessageMetadata