コード例 #1
0
 public void GetAllocationsAsync(TaskAllocationLibrary.TaskAllocationInput input, object userState)
 {
     if ((this.onBeginGetAllocationsDelegate == null))
     {
         this.onBeginGetAllocationsDelegate = new BeginOperationDelegate(this.OnBeginGetAllocations);
     }
     if ((this.onEndGetAllocationsDelegate == null))
     {
         this.onEndGetAllocationsDelegate = new EndOperationDelegate(this.OnEndGetAllocations);
     }
     if ((this.onGetAllocationsCompletedDelegate == null))
     {
         this.onGetAllocationsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetAllocationsCompleted);
     }
     base.InvokeAsync(this.onBeginGetAllocationsDelegate, new object[] {
         input
     }, this.onEndGetAllocationsDelegate, this.onGetAllocationsCompletedDelegate, userState);
 }
コード例 #2
0
 public System.Threading.Tasks.Task <TaskAllocationLibrary.TaskAllocationOutput[]> GetAllocationsAsync(TaskAllocationLibrary.TaskAllocationInput input)
 {
     return(base.Channel.GetAllocationsAsync(input));
 }
コード例 #3
0
 public TaskAllocationLibrary.TaskAllocationOutput[] GetAllocations(TaskAllocationLibrary.TaskAllocationInput input)
 {
     return(base.Channel.GetAllocations(input));
 }
コード例 #4
0
 private System.IAsyncResult OnBeginGetAllocations(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     TaskAllocationLibrary.TaskAllocationInput input = ((TaskAllocationLibrary.TaskAllocationInput)(inValues[0]));
     return(this.BeginGetAllocations(input, callback, asyncState));
 }
コード例 #5
0
 public System.IAsyncResult BeginGetAllocations(TaskAllocationLibrary.TaskAllocationInput input, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGetAllocations(input, callback, asyncState));
 }
コード例 #6
0
 public System.Collections.Generic.List <TaskAllocationLibrary.TaskAllocationOutput> GetAllocations(TaskAllocationLibrary.TaskAllocationInput input)
 {
     return(base.Channel.GetAllocations(input));
 }
コード例 #7
0
 public void GetAllocationsAsync(TaskAllocationLibrary.TaskAllocationInput input)
 {
     this.GetAllocationsAsync(input, null);
 }