This project is read-only.

Service Locator Extension

Th Service Locator extension of Bootstrapper will initialize Microsoft's Common Service Locator to whatever container you are using.


You can install the Service Locator extensions via nuget over here.

Using the extension

To use the extension simply write this code:
var myInstance = ServiceLocator.Current.GetInstance<IMyType>();

Last edited Mar 3, 2013 at 7:58 AM by luisbocaletti, version 4


No comments yet.