예제 #1
0
        public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation)
        {
            var sequence = new CompositeSequence(operation.Name);

            _sequence.Add(sequence);
            return(sequence);
        }
예제 #2
0
        public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation)
        {
            var sequence = new CompositeSequence(operation.Name);

            if (operation is IRequireRemotePowerShellScripts)
            {
                var scriptOp = new PowerShellScriptDeployOperation(((IRequireRemotePowerShellScripts)operation).ScriptPaths);
                scriptOp.Configure(new RemoteCompositeBuilder(sequence, new WebDeployHandler()));
            }
            _sequence.Add(sequence);
            return(sequence);
        }
예제 #3
0
        public CompositeSequence NewCompositeSequence(RemoteCompositeInfrastructureOperation operation)
        {
            var sequence = new CompositeSequence(operation.Name);

            if (operation is IRequireRemotePowerShellScripts)
            {
                var scriptOp = new PowerShellScriptDeployOperation(((IRequireRemotePowerShellScripts)operation).ScriptPaths);
                scriptOp.Configure(new RemoteCompositeBuilder(sequence, new WebDeployHandler()));
            }

            _sequence.Add(sequence);
            return sequence;
        }
예제 #4
0
 public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation)
 {
     var sequence = new CompositeSequence(operation.Name);
     _sequence.Add(sequence);
     return sequence;
 }
예제 #5
0
 public RemoteCompositeBuilder(CompositeSequence compositeSequence, IHandleWebDeploy webDeploy)
 {
     Deploy = new RemoteDeploymentBuilder(compositeSequence, webDeploy);
     ExecuteRemote = new RemoteExecutionBuilder(compositeSequence, webDeploy);
 }