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; }
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(); }
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; }
public ValueSetService(IValueSetRepository valueSetRepository, IIsCustomValueStrategy isCustomValue) { this.repository = valueSetRepository; this.isCustomValue = isCustomValue; }
protected ValueSetMapperBase(IIsCustomValueStrategy isCustomValueStrategy) { this.isCustomValue = isCustomValueStrategy; }