Esempio n. 1
0
 /// <summary>
 /// Intitialize this static instance the with specified factoryResolver.
 /// </summary>
 /// <param name="factoryResolver">The IoC resolver.</param>
 public static void IntitializeWith(IRepositoryFactoryResolver factoryResolver)
 {
     _factoryResolver = factoryResolver;
 }
Esempio n. 2
0
 public void InitializeTreadManager()
 {
     _mocker          = new MockRepository();
     _factoryResolver = _mocker.StrictMock <IRepositoryFactoryResolver>();
     RepositoryFactory.IntitializeWith(_factoryResolver);
 }