public static void Setup() { ServiceLocator = new UnityServiceLocator(); var registration = new AdminAccountRegistration(); registration.Register(ServiceLocator); ServiceLocator.Register<IAdminAccountSettings>(new TestAdminAccountSettings()); }
// Inject the Turbine CSL from the container public ServiceLocatorProxy(ITurbineLocator locator) { Locator = locator; }