C# Class Configuration.MessageConventions

Exibir arquivo Open project: Compassion/ChildPoolDemo

Public Methods

Method Description
DefineMessageConventions ( this configure, string endpointName ) : Configure

Defines the conventions to determine what constitutes a Message, Command, or an Event. Messages are defined as classes or interfaces found in a namespace ending with Requests, Responses, or Timeouts. Commands are defined as classes or interfaces found in a namespace ending with Commands. Events are defined as classes or interfaces found in a namespace ending with Events.

Method Details

DefineMessageConventions() public static method

Defines the conventions to determine what constitutes a Message, Command, or an Event. Messages are defined as classes or interfaces found in a namespace ending with Requests, Responses, or Timeouts. Commands are defined as classes or interfaces found in a namespace ending with Commands. Events are defined as classes or interfaces found in a namespace ending with Events.
public static DefineMessageConventions ( this configure, string endpointName ) : Configure
configure this The NServiceBus Configure object.
endpointName string The name that the endpoint will be called.
return Configure