Skip to content

A framework for building modular applications.

License

Notifications You must be signed in to change notification settings

robertcoltheart/conductor

Repository files navigation

Conductor

NuGet License

A framework for building modular applications.

Usage

Install the package from NuGet with dotnet add package Conductor.

Modules can implement the IModule interface in order to be loaded by the module loader.

// Use any dependency injection container, using the IServiceProvider as a go-between
var container = new Container();

var loader = new ModuleLoader(x => container.Resolve(x));

// Register types in the loader
loader.Add(typeof (DataModule))
	  .Add(typeof (ServicesModule));

// Load all modules
loader.Initialize();

Contributing

Please read CONTRIBUTING.md for details on how to contribute to this project.

License

Conductor is released under the MIT License