コード例 #1
0
 static void Main(string[] args) {
     try {
         JumpActionsManagerClient client = new JumpActionsManagerClient();
         client.Run(args, s => Process.Start(s));
     } catch(Exception e) {
         new ThreadExceptionDialog(e).ShowDialog();
     }
 }
コード例 #2
0
 public void SetUp() {
     applicationID = Guid.NewGuid().ToString();
     TestProcess.AddApplication("launcher.exe", p => {
         using(JumpActionsManagerClient client = new JumpActionsManagerClient(MillisecondsTimeout, p)) {
             GC.SuppressFinalize(client);
             client.Run(p.CommandLineArgs.Skip(1).ToArray(), s => new TestProcess(applicationID, this, s, p.ProcessID + " launcher").Start());
         }
     });
 }
コード例 #3
0
 public void SetUp() {
     TestProcess.AddApplication("launcher.exe", p => {
         JumpActionsManagerClient client = new JumpActionsManagerClient(MillisecondsTimeout);
         client.Run(p.CommandLineArgs.Skip(1).ToArray(), s => new TestProcess(this, s).Start());
     });
 }
 public static void Run(string[] args) {
     JumpActionsManagerClient client = new JumpActionsManagerClient();
     client.Run(args, s => Process.Start(s));
 }