About .NET, ASP.NET, MVC, C#, WPF, WCF and everything related to .NET and more.

Mugen Injection [SingletonScopeLifecycle]

SingletonScopeLifecycle - only a single instance of the binding should be created, and then should be re-used for all subsequent requests.
Example of usage:

// Create your MugenInjector.
_injector = new MugenInjector();

var alpha1 = _injector.Get<Alpha>();
// This is a same instance.
var alpha2 = _injector.Get<Alpha>();

Leave a Reply
* Bullet List
** Bullet List 2
# Number List
## Number List 2
{"Do not apply formatting"}
{code:language} code here {code:language}.
Supports: aspx c#, c#, c++, html, sql, xml