Example #1
0
        public IOperation GetConfigSample(Deployment deployment)
        {
            var hostFileName  = deployment.GetServiceHostFileName();
            var serviceFolder = deployment.GetDeployFolder();

            return(new GetConfigSample(serviceFolder, hostFileName));
        }
Example #2
0
        public IOperation InstallService(Deployment deployment)
        {
            var serviceFolder = deployment.GetDeployFolder();
            var hostFileName  = deployment.GetServiceHostFileName();
            var instanceName  = deployment.InstanceName;

            return(new InstallService(serviceFolder, hostFileName, instanceName));
        }
Example #3
0
        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
            });
        }