Пример #1
0
 /// <summary>
 /// Is this an **anti-pattern**?
 /// </summary>
 public VercelOrchardCoreDeploymentService(
     VercelDeploymentService vercelService,
     DeploymentStatusService deploymentStatus,
     IOptions <DeploymentOptions> deploymentOptions,
     IAppCache cache,
     ISignal signal
     ) : base(deploymentStatus, deploymentOptions, cache, signal)
 {
     _vercelService = vercelService;
 }
 public VercelLatestDeploymentTagHelper(
     IHtmlHelper html,
     IDeploymentService deploymentService,
     DeploymentStatusService deploymentStatusService,
     ILogger <VercelLatestDeploymentTagHelper> logger
     )
 {
     _html = html;
     _deploymentService       = deploymentService;
     _deploymentStatusService = deploymentStatusService;
     _logger = logger;
 }
Пример #3
0
 protected BaseOrchardCoreDeploymentService(
     DeploymentStatusService deploymentStatus,
     IOptions <DeploymentOptions> deploymentOptions,
     IAppCache cache,
     ISignal signal
     )
 {
     _deploymentStatus  = deploymentStatus;
     _deploymentOptions = deploymentOptions.Value;
     _cache             = cache;
     _signal            = signal;
 }
 public VercelDeploymentsController(
     IAuthorizationService authorizationService,
     IDeploymentService deploymentService,
     DeploymentStatusService deploymentStatusService,
     DeploymentStatus serviceState,
     ILogger <VercelDeploymentsController> logger
     )
 {
     _authorizationService    = authorizationService;
     _deploymentService       = deploymentService;
     _deploymentStatusService = deploymentStatusService;
     _serviceState            = serviceState;
     _logger = logger;
 }