示例#1
0
 public SqlClientTermValueSetService(
     ILogger logger,
     IValueSetBackingItemRepository valueSetBackingItemRepository,
     IClientTermValueSetRepository clientTermValueSetRepository)
 {
     this.valueSetBackingItemRepository = valueSetBackingItemRepository;
     this.clientTermValueSetRepository  = clientTermValueSetRepository;
     this.logger = logger;
 }
 public SqlValueSetSummaryService(
     ILogger logger,
     IValueSetBackingItemRepository valueSetBackingItemRepository,
     IValueSetCodeCountRepository valueSetCodeCountRepository)
 {
     this.valueSetBackingItemRepository = valueSetBackingItemRepository;
     this.valueSetCodeCountRepository   = valueSetCodeCountRepository;
     this.logger = logger;
 }
        private void Initialize()
        {
            var cachingManagerFactory = new CachingManagerFactory(this.Cache);

            this.ValueSetBackingItemRepository = new SqlValueSetBackingItemRepository(
                this.SharedContext,
                this.Logger,
                cachingManagerFactory,
                new PagingStrategyFactory(),
                new OrderingStrategyFactory());
        }
 public SqlValueSetBackingItemRepositoryTests(ValueSetBackingItemRepositoryFixture fixture, ITestOutputHelper output)
     : base(output)
 {
     this.repository = fixture.ValueSetBackingItemRepository;
 }