public InstallUploadPackageCommand(IPackageRepository repository, ITempPackager tempPackager, IInstallationRecorder installationRecorder, IPublishService publishService) { _repository = repository; _tempPackager = tempPackager; _installationRecorder = installationRecorder; _publishService = publishService; }
public InstallerModule(IPackageRepository repository, IAuthoriser authoriser, ITempPackager tempPackager, IInstallationRecorder installationRecorder) : base(authoriser, "/services") { _repository = repository; _tempPackager = tempPackager; _installationRecorder = installationRecorder; Post["/package/install/fileupload"] = InstallUploadPackage; Post["/package/install"] = InstallPackage; Get["/package/latestversion"] = LatestVersion; }
public InstallerModule(IPackageRepository repository, IAuthoriser authoriser, ITempPackager tempPackager, IInstallationRecorder installationRecorder) : base("/services") { _repository = repository; _authoriser = authoriser; _tempPackager = tempPackager; _installationRecorder = installationRecorder; Before += AuthoriseRequest; Before += ctx => { ctx.Items.Add(StartTime, DateTime.UtcNow); return null; }; After += AddProcessingTimeToResponse; Post["/package/install/fileupload"] = InstallUploadPackage; Post["/package/install"] = InstallPackage; Get["/package/latestversion"] = LatestVersion; }
public LatestVersionCommand(IInstallationRecorder installationRecorder) { _installationRecorder = installationRecorder; }
public InstallUploadPackageCommand(IPackageRepository repository, ITempPackager tempPackager, IInstallationRecorder installationRecorder) { _repository = repository; _tempPackager = tempPackager; _installationRecorder = installationRecorder; }
public InstallPackageCommand(IPackageRepository repository, IInstallationRecorder installationRecorder) { _repository = repository; _installationRecorder = installationRecorder; }