C# Class Castle.Applications.PestControl.Services.SourceControl.SourceControlManager

Summary description for SourceControlManager.
Inheritance: IInitializable, IDisposable
Show file Open project: nats/castle-1.0.3-mono Class Usage Examples

Public Methods

Method Description
AvailableSourceControl ( ) : ISourceControl[]

Queries the kernel for implementations of ISourceControl. This allow new build system to be registered even without restarting the application. A more efficient approach however is to issue this query only once, but then you lost the ability to add/remove buildsystems at runtime

This approach invokes Resolve on the handler, but do not invoke the counter part release.

Dispose ( ) : void
Initialize ( ) : void
SourceControlManager ( IKernel kernel ) : System

Method Details

AvailableSourceControl() public method

Queries the kernel for implementations of ISourceControl. This allow new build system to be registered even without restarting the application. A more efficient approach however is to issue this query only once, but then you lost the ability to add/remove buildsystems at runtime
This approach invokes Resolve on the handler, but do not invoke the counter part release.
public AvailableSourceControl ( ) : ISourceControl[]
return ISourceControl[]

Dispose() public method

public Dispose ( ) : void
return void

Initialize() public method

public Initialize ( ) : void
return void

SourceControlManager() public method

public SourceControlManager ( IKernel kernel ) : System
kernel IKernel
return System