public static void MyClassInitialize(TestContext testContext)
        {
            AutoFacResolver.InitialiseFoundation();

            var instance = DependencyResolver.Current.Resolve <IFoundationConfigurationSection>();

            _provider = DependencyResolver.Current.Resolve <IPersistenceProvider>("nhibernate-01");
        }
예제 #2
0
 public static void MyClassInitialize(TestContext testContext)
 {
     _testContext = testContext;
     AutoFacResolver.InitialiseFoundation();
 }
예제 #3
0
 public static void Start()
 {
     AutoFacResolver.InitialiseFoundation();
 }
예제 #4
0
        public static void MyClassInitialize(TestContext testContext)
        {
            AutoFacResolver.InitialiseFoundation();

            DtoMappingHelper.RegisterAllFromAssemblyOf <PersistenceEntityDto>();
        }
예제 #5
0
 public static void MyClassInitialize(TestContext testContext)
 {
     AutoFacResolver.InitialiseFoundation();
     _manager = DependencyResolver.Current.Resolve <IPersistenceManager>("in-memory-01");
 }