Пример #1
0
 public ValueSetFullCodeListMapper(
     IIsCustomValueStrategy isCustomValue,
     IMemoryCacheProvider memCache,
     Func <string, string[], IReadOnlyCollection <IValueSetCode> > fetchCodes,
     IEnumerable <string> codeSystemCDs)
     : base(isCustomValue)
 {
     this.cache           = memCache;
     this.fetch           = fetchCodes;
     this.codeSystemCodes = codeSystemCDs;
 }
Пример #2
0
 public ValueSetShortCodeListMapper(
     IIsCustomValueStrategy isCustomValue,
     IMemoryCacheProvider memCache,
     ILookup <string, IValueSetCode> lookup,
     IDictionary <string, IValueSet> previouslyCached,
     Func <string, string[], int> getCount,
     IEnumerable <string> codeSystemCodes)
     : base(isCustomValue)
 {
     this.cache         = memCache;
     this.lookupCodes   = lookup;
     this.stash         = previouslyCached;
     this.getCount      = getCount;
     this.codeSystemCds = codeSystemCodes.ToArray();
 }
Пример #3
0
 public SqlValueSetRepository(
     SharedContext sharedContext,
     Lazy <ClientTermContext> clientTermContext,
     IMemoryCacheProvider cache,
     ILogger logger,
     IValueSetCodeRepository valsetCodeRepository,
     IPagingStrategy <ValueSetDescriptionDto, IValueSet> pagingStrategy,
     IIsCustomValueStrategy isCustomValueStrategy)
 {
     this.clientTermContext      = clientTermContext;
     this.SharedContext          = sharedContext;
     this.Logger                 = logger;
     this.valueSetCodeRepository = valsetCodeRepository;
     this.Cache          = cache;
     this.pagingStrategy = pagingStrategy;
     this.isCustomValue  = isCustomValueStrategy;
 }
Пример #4
0
 public ValueSetService(IValueSetRepository valueSetRepository, IIsCustomValueStrategy isCustomValue)
 {
     this.repository    = valueSetRepository;
     this.isCustomValue = isCustomValue;
 }
Пример #5
0
 protected ValueSetMapperBase(IIsCustomValueStrategy isCustomValueStrategy)
 {
     this.isCustomValue = isCustomValueStrategy;
 }