C# Класс Castle.Facilities.DynamicLoader.DynamicLoaderRegistry

Stores instances of RemoteLoader.
Наследование: IDisposable
Показать файл Открыть проект Примеры использования класса

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

Метод Описание
Dispose ( ) : void

Implementation of IDisposable.

GetLoader ( string domainId ) : RemoteLoader

Gets the RemoteLoader instance for the specified domainId.

RegisterComponentOnDomain ( string domainId, string key, Type service, Type component ) : void

Registers a specific component on a specific domain.

The implementation simply calls GetLoader to get the correct RemoteLoader, then add the component to the RemoteLoader.Kernel.

RegisterLoader ( string domainId, RemoteLoader loader ) : void

Register a new loader, for the specified domainId.

Описание методов

Dispose() публичный Метод

Implementation of IDisposable.
public Dispose ( ) : void
Результат void

GetLoader() публичный Метод

Gets the RemoteLoader instance for the specified domainId.
public GetLoader ( string domainId ) : RemoteLoader
domainId string
Результат RemoteLoader

RegisterComponentOnDomain() публичный Метод

Registers a specific component on a specific domain.
The implementation simply calls GetLoader to get the correct RemoteLoader, then add the component to the RemoteLoader.Kernel.
public RegisterComponentOnDomain ( string domainId, string key, Type service, Type component ) : void
domainId string
key string
service System.Type
component System.Type
Результат void

RegisterLoader() публичный Метод

Register a new loader, for the specified domainId.
public RegisterLoader ( string domainId, RemoteLoader loader ) : void
domainId string
loader RemoteLoader
Результат void