コード例 #1
0
        public DiskIntegrationTests()
        {
            var serviceProvider = ConfigureDi.BuildDi();

            keyComposer = serviceProvider.GetRequiredService <KeyComposer>();
            fakeLocationCacheFactory = serviceProvider.GetRequiredService <FakeLocationCacheFactory>();
            locationCache            = fakeLocationCacheFactory.Create();
        }
コード例 #2
0
        public ManagerLoggingTests()
        {
            var serviceProvider = ConfigureDi.BuildDi();

            fakeLocationCacheFactory = serviceProvider.GetRequiredService <FakeLocationCacheFactory>();
            locationCache            = fakeLocationCacheFactory.Create();
            locationCreator          = Setup.ConfigureDi.Services.GetRequiredService <LocationCreator>();
        }