C# Class NServiceBus.Unicast.Messages.MessageMetadata

Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
MessageMetadata ( Type messageType ) : System

Create a new instance of MessageMetadata.

MessageMetadata ( Type messageType, Type messageHierarchy ) : System

Create a new instance of MessageMetadata.

Method Details

MessageMetadata() public method

Create a new instance of MessageMetadata.
public MessageMetadata ( Type messageType ) : System
messageType System.Type The type of the message this metadata belongs to.
return System

MessageMetadata() public method

Create a new instance of MessageMetadata.
public MessageMetadata ( Type messageType, Type messageHierarchy ) : System
messageType System.Type The type of the message this metadata belongs to.
messageHierarchy System.Type the hierarchy of all message types implemented by the message this metadata belongs to.
return System