コード例 #1
0
        /// <summary>
        /// Define base tests fixture.
        /// </summary>
        public BaseTestsFixture()
        {
            Context = ApplicationContextFactory.Create();

            //var configurationProvider = new MapperConfiguration(cfg =>
            //{
            //    cfg.AddProfile<CardProfile>();
            //});

            //Mapper = configurationProvider.CreateMapper();
        }
コード例 #2
0
 /// <summary>
 /// Destroy the context.
 /// </summary>
 public void Dispose()
 {
     ApplicationContextFactory.Destroy(Context);
 }