C# Class Castle.Facilities.DynamicLoader.DynamicLoaderRegistry

Stores instances of RemoteLoader.
Inheritance: IDisposable
Afficher le fichier Open project: nats/castle-1.0.3-mono Class Usage Examples

Méthodes publiques

Méthode Description
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.

Method Details

Dispose() public méthode

Implementation of IDisposable.
public Dispose ( ) : void
Résultat void

GetLoader() public méthode

Gets the RemoteLoader instance for the specified domainId.
public GetLoader ( string domainId ) : RemoteLoader
domainId string
Résultat RemoteLoader

RegisterComponentOnDomain() public méthode

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
Résultat void

RegisterLoader() public méthode

Register a new loader, for the specified domainId.
public RegisterLoader ( string domainId, RemoteLoader loader ) : void
domainId string
loader RemoteLoader
Résultat void