Ejemplo n.º 1
0
 public bool AddCommute(System.Guid deviceId, CommuteDefinition commute)
 {
     object[] results = this.Invoke("AddCommute", new object[] {
         deviceId,
         commute
     });
     return((bool)(results[0]));
 }
Ejemplo n.º 2
0
 /// <remarks/>
 public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute, object userState)
 {
     if ((this.AddCommuteOperationCompleted == null))
     {
         this.AddCommuteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddCommuteOperationCompleted);
     }
     this.InvokeAsync("AddCommute", new object[] {
         deviceId,
         commute
     }, this.AddCommuteOperationCompleted, userState);
 }
Ejemplo n.º 3
0
 /// <remarks/>
 public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute, object userState) {
     if ((this.AddCommuteOperationCompleted == null)) {
         this.AddCommuteOperationCompleted = new System.Threading.SendOrPostCallback(this.OnAddCommuteOperationCompleted);
     }
     this.InvokeAsync("AddCommute", new object[] {
                 deviceId,
                 commute}, this.AddCommuteOperationCompleted, userState);
 }
Ejemplo n.º 4
0
 /// <remarks/>
 public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute) {
     this.AddCommuteAsync(deviceId, commute, null);
 }
Ejemplo n.º 5
0
 public bool AddCommute(System.Guid deviceId, CommuteDefinition commute) {
     object[] results = this.Invoke("AddCommute", new object[] {
                 deviceId,
                 commute});
     return ((bool)(results[0]));
 }
Ejemplo n.º 6
0
 /// <remarks/>
 public void AddCommuteAsync(System.Guid deviceId, CommuteDefinition commute)
 {
     this.AddCommuteAsync(deviceId, commute, null);
 }