public LocalNServiceBusHostTask(string exeName, string location, NServiceBusHostExeArgs args) { _task = new LocalCommandLineTask(new DotNetPath(), exeName) { Args = args.ToString(), ExecutableIsLocatedAt = location, WorkingDirectory = location }; }
public RemoteNServiceBusHostTask(string exeName, string location, PhysicalServer site, NServiceBusHostExeArgs args) { _task = new RemoteCommandLineTask(exeName) { Args = args.ToString(), ExecutableIsLocatedAt = location, Machine = site.Name, WorkingDirectory = location }; }