Ejemplo n.º 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));
 }
Ejemplo n.º 2
0
 public string ExecuteMacOSCommand(MacOSCommand command, int secondsTimeout)
 {
     object[] results = this.Invoke("ExecuteMacOSCommand", new object[] {
         command,
         secondsTimeout
     });
     return((string)(results[0]));
 }
Ejemplo n.º 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);
 }
Ejemplo n.º 4
0
 /// <remarks/>
 public void ExecuteMacOSCommandAsync(MacOSCommand command, int secondsTimeout)
 {
     this.ExecuteMacOSCommandAsync(command, secondsTimeout, null);
 }