Exemple #1
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;
        }
 public void AddOperation(RemoteCompositeOperation operation)
 {
     operation.Configure(new RemoteCompositeBuilder(_remoteSequence.NewCompositeSequence(operation), _webDeploy));
 }
Exemple #3
0
 public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation)
 {
     var sequence = new CompositeSequence(operation.Name);
     _sequence.Add(sequence);
     return sequence;
 }