C# 클래스 NServiceBus.ConventionsBuilder

Defines custom message conventions instead of using the IMessage, IEvent or ICommand interfaces, and other conventions.
상속: ExposeSettings
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
ConventionsBuilder ( SettingsHolder settings ) : System

Creates a new instance of ConventionsBuilder class.

DefiningCommandsAs ( bool>.Func definesCommandType ) : ConventionsBuilder

Sets the function to be used to evaluate whether a type is a commands.

DefiningDataBusPropertiesAs ( bool>.Func definesDataBusProperty ) : ConventionsBuilder

Sets the function to be used to evaluate whether a property should be sent via the DataBus or not.

DefiningEncryptedPropertiesAs ( bool>.Func definesEncryptedProperty ) : ConventionsBuilder

Sets the function to be used to evaluate whether a property should be encrypted or not.

DefiningEventsAs ( bool>.Func definesEventType ) : ConventionsBuilder

Sets the function to be used to evaluate whether a type is a event.

DefiningMessagesAs ( bool>.Func definesMessageType ) : ConventionsBuilder

Sets the function to be used to evaluate whether a type is a message.

메소드 상세

ConventionsBuilder() 공개 메소드

Creates a new instance of ConventionsBuilder class.
public ConventionsBuilder ( SettingsHolder settings ) : System
settings SettingsHolder An instance of the current settings.
리턴 System

DefiningCommandsAs() 공개 메소드

Sets the function to be used to evaluate whether a type is a commands.
public DefiningCommandsAs ( bool>.Func definesCommandType ) : ConventionsBuilder
definesCommandType bool>.Func
리턴 ConventionsBuilder

DefiningDataBusPropertiesAs() 공개 메소드

Sets the function to be used to evaluate whether a property should be sent via the DataBus or not.
public DefiningDataBusPropertiesAs ( bool>.Func definesDataBusProperty ) : ConventionsBuilder
definesDataBusProperty bool>.Func
리턴 ConventionsBuilder

DefiningEncryptedPropertiesAs() 공개 메소드

Sets the function to be used to evaluate whether a property should be encrypted or not.
public DefiningEncryptedPropertiesAs ( bool>.Func definesEncryptedProperty ) : ConventionsBuilder
definesEncryptedProperty bool>.Func
리턴 ConventionsBuilder

DefiningEventsAs() 공개 메소드

Sets the function to be used to evaluate whether a type is a event.
public DefiningEventsAs ( bool>.Func definesEventType ) : ConventionsBuilder
definesEventType bool>.Func
리턴 ConventionsBuilder

DefiningMessagesAs() 공개 메소드

Sets the function to be used to evaluate whether a type is a message.
public DefiningMessagesAs ( bool>.Func definesMessageType ) : ConventionsBuilder
definesMessageType bool>.Func
리턴 ConventionsBuilder