C# 클래스 NServiceBus.Config.MessageEndpointMappingCollection

A configuration element collection of MessageEndpointMappings.
상속: System.Configuration.ConfigurationElementCollection
파일 보기 프로젝트 열기: Particular/NServiceBus 1 사용 예제들

공개 메소드들

메소드 설명
Add ( NServiceBus.Config.MessageEndpointMapping mapping ) : void

Calls BaseAdd.

Clear ( ) : void

Calls BaseClear.

IndexOf ( NServiceBus.Config.MessageEndpointMapping mapping ) : int

Calls BaseIndexOf on the given mapping.

IsReadOnly ( ) : bool

True if the collection is readonly.

Remove ( NServiceBus.Config.MessageEndpointMapping mapping ) : void

If the mapping exists, calls BaseRemove on it.

Remove ( string name ) : void

Calls BaseRemove.

RemoveAt ( int index ) : void

Calls BaseRemoveAt.

this ( int index ) : NServiceBus.Config.MessageEndpointMapping

Gets/sets the MessageEndpointMapping at the given index.

this ( string Name ) : NServiceBus.Config.MessageEndpointMapping

Gets the MessageEndpointMapping for the given name.

보호된 메소드들

메소드 설명
BaseAdd ( ConfigurationElement element ) : void

Calls BaseAdd with true as the additional parameter.

CreateNewElement ( ) : ConfigurationElement

Creates a new MessageEndpointMapping.

CreateNewElement ( string elementName ) : ConfigurationElement

Creates a new MessageEndpointMapping, setting its Message property to the given name.

GetElementKey ( ConfigurationElement element ) : object

Returns the Messages property of the given MessageEndpointMapping element.

비공개 메소드들

메소드 설명
Apply ( Publishers publishers, UnicastRoutingTable unicastRoutingTable, string>.Func makeCanonicalAddress, Conventions conventions ) : void
GetBaseTypes ( Type messageType, Conventions conventions ) : List
RegisterEventRoute ( Type mappedType, string address, List publisherTableEntries, IEnumerable baseTypes ) : void
RegisterMessageRoute ( Type mappedType, string address, RouteTableEntry>.Dictionary routeTableEntries, IEnumerable baseTypes ) : void

메소드 상세

Add() 공개 메소드

Calls BaseAdd.
public Add ( NServiceBus.Config.MessageEndpointMapping mapping ) : void
mapping NServiceBus.Config.MessageEndpointMapping
리턴 void

BaseAdd() 보호된 메소드

Calls BaseAdd with true as the additional parameter.
protected BaseAdd ( ConfigurationElement element ) : void
element System.Configuration.ConfigurationElement
리턴 void

Clear() 공개 메소드

Calls BaseClear.
public Clear ( ) : void
리턴 void

CreateNewElement() 보호된 메소드

Creates a new MessageEndpointMapping.
protected CreateNewElement ( ) : ConfigurationElement
리턴 System.Configuration.ConfigurationElement

CreateNewElement() 보호된 메소드

Creates a new MessageEndpointMapping, setting its Message property to the given name.
protected CreateNewElement ( string elementName ) : ConfigurationElement
elementName string
리턴 System.Configuration.ConfigurationElement

GetElementKey() 보호된 메소드

Returns the Messages property of the given MessageEndpointMapping element.
protected GetElementKey ( ConfigurationElement element ) : object
element System.Configuration.ConfigurationElement
리턴 object

IndexOf() 공개 메소드

Calls BaseIndexOf on the given mapping.
public IndexOf ( NServiceBus.Config.MessageEndpointMapping mapping ) : int
mapping NServiceBus.Config.MessageEndpointMapping
리턴 int

IsReadOnly() 공개 메소드

True if the collection is readonly.
public IsReadOnly ( ) : bool
리턴 bool

Remove() 공개 메소드

If the mapping exists, calls BaseRemove on it.
public Remove ( NServiceBus.Config.MessageEndpointMapping mapping ) : void
mapping NServiceBus.Config.MessageEndpointMapping
리턴 void

Remove() 공개 메소드

Calls BaseRemove.
public Remove ( string name ) : void
name string
리턴 void

RemoveAt() 공개 메소드

Calls BaseRemoveAt.
public RemoveAt ( int index ) : void
index int
리턴 void

this() 공개 메소드

Gets/sets the MessageEndpointMapping at the given index.
public this ( int index ) : NServiceBus.Config.MessageEndpointMapping
index int
리턴 NServiceBus.Config.MessageEndpointMapping

this() 공개 메소드

Gets the MessageEndpointMapping for the given name.
public this ( string Name ) : NServiceBus.Config.MessageEndpointMapping
Name string
리턴 NServiceBus.Config.MessageEndpointMapping