예제 #1
0
 public void GetAsync(UnitTesting.Lookup.GetRequest request, object userState)
 {
     if ((this.onBeginGetDelegate == null))
     {
         this.onBeginGetDelegate = new BeginOperationDelegate(this.OnBeginGet);
     }
     if ((this.onEndGetDelegate == null))
     {
         this.onEndGetDelegate = new EndOperationDelegate(this.OnEndGet);
     }
     if ((this.onGetCompletedDelegate == null))
     {
         this.onGetCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCompleted);
     }
     base.InvokeAsync(this.onBeginGetDelegate, new object[] {
         request
     }, this.onEndGetDelegate, this.onGetCompletedDelegate, userState);
 }
예제 #2
0
 public void GetAsync(UnitTesting.Lookup.GetRequest request)
 {
     this.GetAsync(request, null);
 }
예제 #3
0
 public System.IAsyncResult BeginGet(UnitTesting.Lookup.GetRequest request, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.BeginGet(request, callback, asyncState));
 }
예제 #4
0
 private System.IAsyncResult OnBeginGet(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     UnitTesting.Lookup.GetRequest request = ((UnitTesting.Lookup.GetRequest)(inValues[0]));
     return(this.BeginGet(request, callback, asyncState));
 }
예제 #5
0
 public UnitTesting.Lookup.GetResponse Get(UnitTesting.Lookup.GetRequest request)
 {
     return(base.Channel.Get(request));
 }