Example #1
0
 public void loginAsync(NetTestClient.WCF.UserClass user, object userState)
 {
     if ((this.onBeginloginDelegate == null))
     {
         this.onBeginloginDelegate = new BeginOperationDelegate(this.OnBeginlogin);
     }
     if ((this.onEndloginDelegate == null))
     {
         this.onEndloginDelegate = new EndOperationDelegate(this.OnEndlogin);
     }
     if ((this.onloginCompletedDelegate == null))
     {
         this.onloginCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnloginCompleted);
     }
     base.InvokeAsync(this.onBeginloginDelegate, new object[] {
         user
     }, this.onEndloginDelegate, this.onloginCompletedDelegate, userState);
 }
Example #2
0
 public void loginAsync(NetTestClient.WCF.UserClass user)
 {
     this.loginAsync(user, null);
 }
Example #3
0
 public System.IAsyncResult Beginlogin(NetTestClient.WCF.UserClass user, System.AsyncCallback callback, object asyncState)
 {
     return(base.Channel.Beginlogin(user, callback, asyncState));
 }
Example #4
0
 private System.IAsyncResult OnBeginlogin(object[] inValues, System.AsyncCallback callback, object asyncState)
 {
     NetTestClient.WCF.UserClass user = ((NetTestClient.WCF.UserClass)(inValues[0]));
     return(this.Beginlogin(user, callback, asyncState));
 }
Example #5
0
 public string login(NetTestClient.WCF.UserClass user)
 {
     return(base.Channel.login(user));
 }