C# 클래스 NServiceBus.RoutingSettings

Exposes settings related to routing.
상속: ExposeSettings
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
DoNotEnforceBestPractices ( ) : void

Disables the enforcement of messaging best practices (e.g. validating that a published message is an event).

RouteToEndpoint ( Assembly assembly, string destination ) : void

Adds a static unicast route for all types contained in the specified assembly.

RouteToEndpoint ( Assembly assembly, string @namespace, string destination ) : void

Adds a static unicast route for all types contained in the specified assembly and within the given namespace.

RouteToEndpoint ( Type messageType, string destination ) : void

Adds a static unicast route for a given message type.

RoutingSettings ( SettingsHolder settings ) : System

Creates a new instance of RoutingSettings.

비공개 메소드들

메소드 설명
ThrowOnAddress ( string destination ) : void

메소드 상세

DoNotEnforceBestPractices() 공개 메소드

Disables the enforcement of messaging best practices (e.g. validating that a published message is an event).
public DoNotEnforceBestPractices ( ) : void
리턴 void

RouteToEndpoint() 공개 메소드

Adds a static unicast route for all types contained in the specified assembly.
public RouteToEndpoint ( Assembly assembly, string destination ) : void
assembly System.Reflection.Assembly The assembly whose messages should be routed.
destination string Destination endpoint.
리턴 void

RouteToEndpoint() 공개 메소드

Adds a static unicast route for all types contained in the specified assembly and within the given namespace.
public RouteToEndpoint ( Assembly assembly, string @namespace, string destination ) : void
assembly System.Reflection.Assembly The assembly whose messages should be routed.
@namespace string
destination string Destination endpoint.
리턴 void

RouteToEndpoint() 공개 메소드

Adds a static unicast route for a given message type.
public RouteToEndpoint ( Type messageType, string destination ) : void
messageType System.Type The message which should be routed.
destination string The destination endpoint.
리턴 void

RoutingSettings() 공개 메소드

Creates a new instance of RoutingSettings.
public RoutingSettings ( SettingsHolder settings ) : System
settings SettingsHolder
리턴 System