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

            return(new GetConfigSample(serviceFolder, hostFileName));
        }
示例#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));
        }
示例#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
            });
        }