Пример #1
0
 public DemographicProvider(
     IUserContext user,
     DemographicCompilerValidationContextProvider contextProvider,
     IDemographicSqlCompiler compiler,
     IDemographicsExecutor executor,
     ILogger <DemographicProvider> log)
 {
     this.user            = user;
     this.contextProvider = contextProvider;
     this.compiler        = compiler;
     this.executor        = executor;
     this.log             = log;
 }
Пример #2
0
 public DemographicProvider(
     IUserContext user,
     DemographicCompilerValidationContextProvider contextProvider,
     IOptions <ClientOptions> clientOpts,
     IOptions <DeidentificationOptions> deidentOpts,
     IDemographicSqlCompiler compiler,
     IDemographicsExecutor executor,
     ILogger <DemographicProvider> log)
 {
     this.user            = user;
     this.contextProvider = contextProvider;
     this.compiler        = compiler;
     this.executor        = executor;
     this.clientOpts      = clientOpts.Value;
     this.deidentOpts     = deidentOpts.Value;
     this.log             = log;
 }