C# Class NServiceBus.Conventions

Message convention definitions.
Show file Open project: Particular/NServiceBus Class Usage Examples

Public Methods

Method Description
AddSystemMessagesConventions ( bool>.Func definesMessageType ) : void

Add system message convention.

IsCommandType ( Type t ) : bool

Returns true if the given type is a command type.

IsDataBusProperty ( PropertyInfo property ) : bool

Returns true if the given property should be send via the DataBus.

IsEncryptedProperty ( PropertyInfo property ) : bool

Returns true if the given property should be encrypted.

IsEventType ( Type t ) : bool

Returns true if the given type is a event type.

IsInSystemConventionList ( Type t ) : bool

Returns true is message is a system message type.

IsMessageType ( Type t ) : bool

Returns true if the given type is a message type.

Private Methods

Method Description
GetDataBusProperties ( object message ) : List

Method Details

AddSystemMessagesConventions() public method

Add system message convention.
public AddSystemMessagesConventions ( bool>.Func definesMessageType ) : void
definesMessageType bool>.Func Function to define system message convention.
return void

IsCommandType() public method

Returns true if the given type is a command type.
public IsCommandType ( Type t ) : bool
t System.Type
return bool

IsDataBusProperty() public method

Returns true if the given property should be send via the DataBus.
public IsDataBusProperty ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
return bool

IsEncryptedProperty() public method

Returns true if the given property should be encrypted.
public IsEncryptedProperty ( PropertyInfo property ) : bool
property System.Reflection.PropertyInfo
return bool

IsEventType() public method

Returns true if the given type is a event type.
public IsEventType ( Type t ) : bool
t System.Type
return bool

IsInSystemConventionList() public method

Returns true is message is a system message type.
public IsInSystemConventionList ( Type t ) : bool
t System.Type
return bool

IsMessageType() public method

Returns true if the given type is a message type.
public IsMessageType ( Type t ) : bool
t System.Type
return bool