public LocalNServiceBusHostTask(string exeName, string location, NServiceBusHostExeArgs args)
 {
     _task = new LocalCommandLineTask(new DotNetPath(), exeName)
     {
         Args = args.ToString(),
         ExecutableIsLocatedAt = location,
         WorkingDirectory = location
     };
 }
 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
     };
 }
Exemplo n.º 4
0
 public RemoteNServiceBusHostTask(string exeName, string location, PhysicalServer site, NServiceBusHostExeArgs args)
 {
     _task = new RemoteCommandLineTask(exeName)
     {
         Args = args.ToString(),
         ExecutableIsLocatedAt = location,
         Machine          = site.Name,
         WorkingDirectory = location
     };
 }