public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation) { var sequence = new CompositeSequence(operation.Name); _sequence.Add(sequence); return(sequence); }
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 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; }
public CompositeSequence NewCompositeSequence(RemoteCompositeOperation operation) { var sequence = new CompositeSequence(operation.Name); _sequence.Add(sequence); return sequence; }
public RemoteCompositeBuilder(CompositeSequence compositeSequence, IHandleWebDeploy webDeploy) { Deploy = new RemoteDeploymentBuilder(compositeSequence, webDeploy); ExecuteRemote = new RemoteExecutionBuilder(compositeSequence, webDeploy); }