C# Class BudgetAnalyser.CompositionRoot

This class follows the Composition Root Pattern as described here: http://blog.ploeh.dk/2011/07/28/CompositionRoot/ It constructs any and all required objects, the whole graph for use for the process lifetime of the application. This class also contains all usage of IoC (Autofac in this case) to this class. It should not be used any where else in the application to prevent the Service Locator anti-pattern from appearing.
Show file Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Private Methods

Method Description
AllLocalNonAutomaticRegistrations ( ContainerBuilder builder ) : void
BuildApplicationObjectGraph ( ContainerBuilder builder ) : void
Compose ( ) : void
ComposeTypesWithDefaultImplementations ( Assembly assembly, ContainerBuilder builder ) : void
ConstructUiContext ( IContainer container ) : void
RegistrationsForReesWpf ( ContainerBuilder builder ) : void

Method Details

Dispose() public method

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public Dispose ( ) : void
return void