C# Class Bottles.PackagingRuntimeGraph

A collection of data about a given runtime
Inheritance: IDisposable
Datei anzeigen Open project: DarthFubuMVC/bottles Class Usage Examples

Private Properties

Property Type Description
activatePackages void
analyzePackageDependenciesAndOrder void
collectAllActivatorsFromBootstrappers List
loadAssemblies void

Public Methods

Method Description
AddActivator ( IActivator activator ) : void
AddBootstrapper ( IBootstrapper bootstrapper ) : void
AddFacility ( IPackageFacility facility ) : void
AddLoader ( IPackageLoader loader ) : void
DiscoverAndLoadPackages ( System.Action onAssembliesScanned, bool runActivators = true ) : void
Dispose ( ) : void
FindAllPackages ( ) : IEnumerable
InProvenance ( string provenance, Action action ) : IDisposable
PackagingRuntimeGraph ( IBottlingDiagnostics diagnostics, IAssemblyLoader assemblies, IList packages ) : System
PopProvenance ( ) : void
PushProvenance ( string provenance ) : void

Private Methods

Method Description
activatePackages ( IEnumerable packages, IEnumerable discoveredActivators ) : void
analyzePackageDependenciesAndOrder ( IEnumerable packages ) : void
collectAllActivatorsFromBootstrappers ( ) : List
loadAssemblies ( IEnumerable packages, System.Action onAssembliesScanned ) : void

Method Details

AddActivator() public method

public AddActivator ( IActivator activator ) : void
activator IActivator
return void

AddBootstrapper() public method

public AddBootstrapper ( IBootstrapper bootstrapper ) : void
bootstrapper IBootstrapper
return void

AddFacility() public method

public AddFacility ( IPackageFacility facility ) : void
facility IPackageFacility
return void

AddLoader() public method

public AddLoader ( IPackageLoader loader ) : void
loader IPackageLoader
return void

DiscoverAndLoadPackages() public method

public DiscoverAndLoadPackages ( System.Action onAssembliesScanned, bool runActivators = true ) : void
onAssembliesScanned System.Action
runActivators bool
return void

Dispose() public method

public Dispose ( ) : void
return void

FindAllPackages() public method

public FindAllPackages ( ) : IEnumerable
return IEnumerable

InProvenance() public method

public InProvenance ( string provenance, Action action ) : IDisposable
provenance string
action Action
return IDisposable

PackagingRuntimeGraph() public method

public PackagingRuntimeGraph ( IBottlingDiagnostics diagnostics, IAssemblyLoader assemblies, IList packages ) : System
diagnostics IBottlingDiagnostics
assemblies IAssemblyLoader
packages IList
return System

PopProvenance() public method

public PopProvenance ( ) : void
return void

PushProvenance() public method

public PushProvenance ( string provenance ) : void
provenance string
return void