예제 #1
0
        public void ConfigureMockServiceLocator(IUnityContainer container)
        {
            MockServiceLocator serviceLocator = new MockServiceLocator(container);

            ServiceLocator.SetLocatorProvider(() => serviceLocator);
        }
 public void ConfigureMockServiceLocator(IUnityContainer container)
 {
     MockServiceLocator serviceLocator = new MockServiceLocator(container);
     ServiceLocator.SetLocatorProvider(() => serviceLocator);
 }