Example #1
0
 /// <remarks/>
 public System.IAsyncResult BeginExecuteMacOSCommand(MacOSCommand command, int secondsTimeout, System.AsyncCallback callback, object asyncState)
 {
     return(this.BeginInvoke("ExecuteMacOSCommand", new object[] {
         command,
         secondsTimeout
     }, callback, asyncState));
 }
Example #2
0
 public string ExecuteMacOSCommand(MacOSCommand command, int secondsTimeout)
 {
     object[] results = this.Invoke("ExecuteMacOSCommand", new object[] {
         command,
         secondsTimeout
     });
     return((string)(results[0]));
 }
Example #3
0
 /// <remarks/>
 public void ExecuteMacOSCommandAsync(MacOSCommand command, int secondsTimeout, object userState)
 {
     if ((this.ExecuteMacOSCommandOperationCompleted == null))
     {
         this.ExecuteMacOSCommandOperationCompleted = new System.Threading.SendOrPostCallback(this.OnExecuteMacOSCommandOperationCompleted);
     }
     this.InvokeAsync("ExecuteMacOSCommand", new object[] {
         command,
         secondsTimeout
     }, this.ExecuteMacOSCommandOperationCompleted, userState);
 }
Example #4
0
 /// <remarks/>
 public void ExecuteMacOSCommandAsync(MacOSCommand command, int secondsTimeout)
 {
     this.ExecuteMacOSCommandAsync(command, secondsTimeout, null);
 }