This getting started guide walks you through these steps for a simple console application.

Add MugenInjection references

The first step is to add MugenInjection references to your project. For this example, we're only using MugenInjection.Core.dll. Other application types may use additional MugenInjection integration libraries. The easiest way to do this is through NuGet. The "MugenInjection" package has all the core functionality you'll need.

We also need to store the container so it can be used to resolve types later.

Application Execution

During application execution, you'll need to make use of the components you registered. You do this by resolving them from a IInjector.For our sample app, we'll implement the "Process" method to get an instance of IService to call method "Process":