コード例 #1
0
 public BackgroundServerStateSynchronizer(
     IServerStateCache cache,
     IServerStateProvider serverStateProvider,
     ILogger <BackgroundInvalidatedTokenSynchronizer> logger)
 {
     this.cache = cache;
     this.serverStateProvider = serverStateProvider;
     this.logger = logger;
 }
コード例 #2
0
ファイル: ConfigController.cs プロジェクト: uwrit/leaf
 public ConfigController(
     IOptions <AuthenticationOptions> authenticationOptions,
     IOptions <LeafVersionOptions> versionOptions,
     IOptions <CohortOptions> cohortOptions,
     IOptions <ClientOptions> clientOptions,
     IOptions <AttestationOptions> attestationOptions,
     IOptions <DeidentificationOptions> deidentOptions,
     IServerStateCache serverStateCache)
 {
     this.authenticationOptions = authenticationOptions.Value;
     this.versionOptions        = versionOptions.Value;
     this.cohortOptions         = cohortOptions.Value;
     this.clientOptions         = clientOptions.Value;
     this.attestationOptions    = attestationOptions.Value;
     this.deidentOptions        = deidentOptions.Value;
     this.serverStateCache      = serverStateCache;
 }