コード例 #1
0
 public void ConfigureMockServiceLocator()
 {
     MockServiceLocator serviceLocator = new MockServiceLocator();
     ServiceLocator.SetLocatorProvider(() => serviceLocator);
 }
コード例 #2
0
        public void ConfigureMockServiceLocator()
        {
            MockServiceLocator serviceLocator = new MockServiceLocator();

            ServiceLocator.SetLocatorProvider(() => serviceLocator);
        }