C# Класс NServiceBus.Config.MessageEndpointMappingCollection

A configuration element collection of MessageEndpointMappings.
Наследование: System.Configuration.ConfigurationElementCollection
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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