public IOperation GetConfigSample(Deployment deployment) { var hostFileName = deployment.GetServiceHostFileName(); var serviceFolder = deployment.GetDeployFolder(); return(new GetConfigSample(serviceFolder, hostFileName)); }
public IOperation InstallService(Deployment deployment) { var serviceFolder = deployment.GetDeployFolder(); var hostFileName = deployment.GetServiceHostFileName(); var instanceName = deployment.InstanceName; return(new InstallService(serviceFolder, hostFileName, instanceName)); }
public IOperation UninstallService(Deployment deployment, bool skipIfNotFound = false) { var serviceFolder = deployment.GetDeployFolder(); var hostFileName = deployment.GetServiceHostFileName(); var instanceName = deployment.InstanceName; return(new UninstallService(serviceFolder, hostFileName, instanceName) { SkipIfNotFound = skipIfNotFound }); }