コード例 #1
0
 public EnvironmentCostController(
     IEnvironmentCoordinator environmentCoordinator,
     ICostCoordinator costCoordinator,
     ILogger <EnvironmentCostController> logger)
 {
     _environmentCoordinator = environmentCoordinator;
     _costCoordinator        = costCoordinator;
     _logger = logger;
 }
コード例 #2
0
 public ReportingController(
     IEnvironmentCoordinator environmentCoordinator,
     IPackageCoordinator packageCoordinator,
     IAssetRepoCoordinator assetRepoCoordinator,
     ICostCoordinator costCoordinator,
     ITokenAcquisition tokenAcquisition)
     : base(environmentCoordinator, packageCoordinator, assetRepoCoordinator, tokenAcquisition)
 {
     _costCoordinator = costCoordinator;
 }
コード例 #3
0
 public CachingCostCoordinator(ICostCoordinator inner, IMemoryCache memoryCache)
 {
     _inner       = inner;
     _memoryCache = memoryCache;
 }