Exemplo n.º 1
0
 public void DeleteAsync(WebApplication3.ServiceReference1.DeleteUser d, object userState)
 {
     if ((this.onBeginDeleteDelegate == null))
     {
         this.onBeginDeleteDelegate = new BeginOperationDelegate(this.OnBeginDelete);
     }
     if ((this.onEndDeleteDelegate == null))
     {
         this.onEndDeleteDelegate = new EndOperationDelegate(this.OnEndDelete);
     }
     if ((this.onDeleteCompletedDelegate == null))
     {
         this.onDeleteCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteCompleted);
     }
     base.InvokeAsync(this.onBeginDeleteDelegate, new object[] {
         d
     }, this.onEndDeleteDelegate, this.onDeleteCompletedDelegate, userState);
 }
Exemplo n.º 2
0
 public void GetDataUsingDataContractAsync(XFWCFPCL.ServiceReference1.CompositeType composite, object userState)
 {
     if ((this.onBeginGetDataUsingDataContractDelegate == null))
     {
         this.onBeginGetDataUsingDataContractDelegate = new BeginOperationDelegate(this.OnBeginGetDataUsingDataContract);
     }
     if ((this.onEndGetDataUsingDataContractDelegate == null))
     {
         this.onEndGetDataUsingDataContractDelegate = new EndOperationDelegate(this.OnEndGetDataUsingDataContract);
     }
     if ((this.onGetDataUsingDataContractCompletedDelegate == null))
     {
         this.onGetDataUsingDataContractCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataUsingDataContractCompleted);
     }
     base.InvokeAsync(this.onBeginGetDataUsingDataContractDelegate, new object[] {
         composite
     }, this.onEndGetDataUsingDataContractDelegate, this.onGetDataUsingDataContractCompletedDelegate, userState);
 }
Exemplo n.º 3
0
 public void CreateBookAsync(BookClient.Data.Book book, object userState)
 {
     if ((this.onBeginCreateBookDelegate == null))
     {
         this.onBeginCreateBookDelegate = new BeginOperationDelegate(this.OnBeginCreateBook);
     }
     if ((this.onEndCreateBookDelegate == null))
     {
         this.onEndCreateBookDelegate = new EndOperationDelegate(this.OnEndCreateBook);
     }
     if ((this.onCreateBookCompletedDelegate == null))
     {
         this.onCreateBookCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCreateBookCompleted);
     }
     base.InvokeAsync(this.onBeginCreateBookDelegate, new object[] {
         book
     }, this.onEndCreateBookDelegate, this.onCreateBookCompletedDelegate, userState);
 }
Exemplo n.º 4
0
 public void GetDataAsync(int value, object userState)
 {
     if ((this.onBeginGetDataDelegate == null))
     {
         this.onBeginGetDataDelegate = new BeginOperationDelegate(this.OnBeginGetData);
     }
     if ((this.onEndGetDataDelegate == null))
     {
         this.onEndGetDataDelegate = new EndOperationDelegate(this.OnEndGetData);
     }
     if ((this.onGetDataCompletedDelegate == null))
     {
         this.onGetDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetDataCompleted);
     }
     base.InvokeAsync(this.onBeginGetDataDelegate, new object[] {
         value
     }, this.onEndGetDataDelegate, this.onGetDataCompletedDelegate, userState);
 }
Exemplo n.º 5
0
 public void DeleteBookAsync(string isbn, object userState)
 {
     if ((this.onBeginDeleteBookDelegate == null))
     {
         this.onBeginDeleteBookDelegate = new BeginOperationDelegate(this.OnBeginDeleteBook);
     }
     if ((this.onEndDeleteBookDelegate == null))
     {
         this.onEndDeleteBookDelegate = new EndOperationDelegate(this.OnEndDeleteBook);
     }
     if ((this.onDeleteBookCompletedDelegate == null))
     {
         this.onDeleteBookCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDeleteBookCompleted);
     }
     base.InvokeAsync(this.onBeginDeleteBookDelegate, new object[] {
         isbn
     }, this.onEndDeleteBookDelegate, this.onDeleteBookCompletedDelegate, userState);
 }
Exemplo n.º 6
0
 public void SearchAsync(string searchText, object userState)
 {
     if ((this.onBeginSearchDelegate == null))
     {
         this.onBeginSearchDelegate = new BeginOperationDelegate(this.OnBeginSearch);
     }
     if ((this.onEndSearchDelegate == null))
     {
         this.onEndSearchDelegate = new EndOperationDelegate(this.OnEndSearch);
     }
     if ((this.onSearchCompletedDelegate == null))
     {
         this.onSearchCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSearchCompleted);
     }
     base.InvokeAsync(this.onBeginSearchDelegate, new object[] {
         searchText
     }, this.onEndSearchDelegate, this.onSearchCompletedDelegate, userState);
 }
Exemplo n.º 7
0
 public void debugAsync(string message, object userState)
 {
     if ((this.onBegindebugDelegate == null))
     {
         this.onBegindebugDelegate = new BeginOperationDelegate(this.OnBegindebug);
     }
     if ((this.onEnddebugDelegate == null))
     {
         this.onEnddebugDelegate = new EndOperationDelegate(this.OnEnddebug);
     }
     if ((this.ondebugCompletedDelegate == null))
     {
         this.ondebugCompletedDelegate = new System.Threading.SendOrPostCallback(this.OndebugCompleted);
     }
     base.InvokeAsync(this.onBegindebugDelegate, new object[] {
         message
     }, this.onEnddebugDelegate, this.ondebugCompletedDelegate, userState);
 }
Exemplo n.º 8
0
 public void GetMusicTrackAsync(System.Guid musicTrackId, object userState)
 {
     if ((this.onBeginGetMusicTrackDelegate == null))
     {
         this.onBeginGetMusicTrackDelegate = new BeginOperationDelegate(this.OnBeginGetMusicTrack);
     }
     if ((this.onEndGetMusicTrackDelegate == null))
     {
         this.onEndGetMusicTrackDelegate = new EndOperationDelegate(this.OnEndGetMusicTrack);
     }
     if ((this.onGetMusicTrackCompletedDelegate == null))
     {
         this.onGetMusicTrackCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetMusicTrackCompleted);
     }
     base.InvokeAsync(this.onBeginGetMusicTrackDelegate, new object[] {
         musicTrackId
     }, this.onEndGetMusicTrackDelegate, this.onGetMusicTrackCompletedDelegate, userState);
 }
Exemplo n.º 9
0
 public void ClockOutAsync(string employeePinCode, System.DateTime clockOutDateTime, object userState)
 {
     if ((this.onBeginClockOutDelegate == null))
     {
         this.onBeginClockOutDelegate = new BeginOperationDelegate(this.OnBeginClockOut);
     }
     if ((this.onEndClockOutDelegate == null))
     {
         this.onEndClockOutDelegate = new EndOperationDelegate(this.OnEndClockOut);
     }
     if ((this.onClockOutCompletedDelegate == null))
     {
         this.onClockOutCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnClockOutCompleted);
     }
     base.InvokeAsync(this.onBeginClockOutDelegate, new object[] {
         employeePinCode,
         clockOutDateTime
     }, this.onEndClockOutDelegate, this.onClockOutCompletedDelegate, userState);
 }
Exemplo n.º 10
0
 public void ValidateUserAsync(string Login, string Password, object userState)
 {
     if ((this.onBeginValidateUserDelegate == null))
     {
         this.onBeginValidateUserDelegate = new BeginOperationDelegate(this.OnBeginValidateUser);
     }
     if ((this.onEndValidateUserDelegate == null))
     {
         this.onEndValidateUserDelegate = new EndOperationDelegate(this.OnEndValidateUser);
     }
     if ((this.onValidateUserCompletedDelegate == null))
     {
         this.onValidateUserCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnValidateUserCompleted);
     }
     base.InvokeAsync(this.onBeginValidateUserDelegate, new object[] {
         Login,
         Password
     }, this.onEndValidateUserDelegate, this.onValidateUserCompletedDelegate, userState);
 }
Exemplo n.º 11
0
 public void GetUserAsync(string random, int Id, object userState)
 {
     if ((this.onBeginGetUserDelegate == null))
     {
         this.onBeginGetUserDelegate = new BeginOperationDelegate(this.OnBeginGetUser);
     }
     if ((this.onEndGetUserDelegate == null))
     {
         this.onEndGetUserDelegate = new EndOperationDelegate(this.OnEndGetUser);
     }
     if ((this.onGetUserCompletedDelegate == null))
     {
         this.onGetUserCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetUserCompleted);
     }
     base.InvokeAsync(this.onBeginGetUserDelegate, new object[] {
         random,
         Id
     }, this.onEndGetUserDelegate, this.onGetUserCompletedDelegate, userState);
 }
Exemplo n.º 12
0
 public void LeaveConversationAsync(string conferenceName, string contactUri, object userState)
 {
     if ((this.onBeginLeaveConversationDelegate == null))
     {
         this.onBeginLeaveConversationDelegate = new BeginOperationDelegate(this.OnBeginLeaveConversation);
     }
     if ((this.onEndLeaveConversationDelegate == null))
     {
         this.onEndLeaveConversationDelegate = new EndOperationDelegate(this.OnEndLeaveConversation);
     }
     if ((this.onLeaveConversationCompletedDelegate == null))
     {
         this.onLeaveConversationCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLeaveConversationCompleted);
     }
     base.InvokeAsync(this.onBeginLeaveConversationDelegate, new object[] {
         conferenceName,
         contactUri
     }, this.onEndLeaveConversationDelegate, this.onLeaveConversationCompletedDelegate, userState);
 }
Exemplo n.º 13
0
 public void PPTControlAsync(string conferenceName, string controler, object userState)
 {
     if ((this.onBeginPPTControlDelegate == null))
     {
         this.onBeginPPTControlDelegate = new BeginOperationDelegate(this.OnBeginPPTControl);
     }
     if ((this.onEndPPTControlDelegate == null))
     {
         this.onEndPPTControlDelegate = new EndOperationDelegate(this.OnEndPPTControl);
     }
     if ((this.onPPTControlCompletedDelegate == null))
     {
         this.onPPTControlCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPPTControlCompleted);
     }
     base.InvokeAsync(this.onBeginPPTControlDelegate, new object[] {
         conferenceName,
         controler
     }, this.onEndPPTControlDelegate, this.onPPTControlCompletedDelegate, userState);
 }
Exemplo n.º 14
0
 public void JoinConferenceMainLyncConversationAsync(string conferenceName, ConferenceModel.ConferenceLyncConversationWebservice.LyncConversationEntity lyncConversationEntity, object userState)
 {
     if ((this.onBeginJoinConferenceMainLyncConversationDelegate == null))
     {
         this.onBeginJoinConferenceMainLyncConversationDelegate = new BeginOperationDelegate(this.OnBeginJoinConferenceMainLyncConversation);
     }
     if ((this.onEndJoinConferenceMainLyncConversationDelegate == null))
     {
         this.onEndJoinConferenceMainLyncConversationDelegate = new EndOperationDelegate(this.OnEndJoinConferenceMainLyncConversation);
     }
     if ((this.onJoinConferenceMainLyncConversationCompletedDelegate == null))
     {
         this.onJoinConferenceMainLyncConversationCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnJoinConferenceMainLyncConversationCompleted);
     }
     base.InvokeAsync(this.onBeginJoinConferenceMainLyncConversationDelegate, new object[] {
         conferenceName,
         lyncConversationEntity
     }, this.onEndJoinConferenceMainLyncConversationDelegate, this.onJoinConferenceMainLyncConversationCompletedDelegate, userState);
 }
 public void LoadLibraryByIdAsync(System.Uri libraryId, int maxNumberOfItems, object userState)
 {
     if ((this.onBeginLoadLibraryByIdDelegate == null))
     {
         this.onBeginLoadLibraryByIdDelegate = new BeginOperationDelegate(this.OnBeginLoadLibraryById);
     }
     if ((this.onEndLoadLibraryByIdDelegate == null))
     {
         this.onEndLoadLibraryByIdDelegate = new EndOperationDelegate(this.OnEndLoadLibraryById);
     }
     if ((this.onLoadLibraryByIdCompletedDelegate == null))
     {
         this.onLoadLibraryByIdCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnLoadLibraryByIdCompleted);
     }
     base.InvokeAsync(this.onBeginLoadLibraryByIdDelegate, new object[] {
         libraryId,
         maxNumberOfItems
     }, this.onEndLoadLibraryByIdDelegate, this.onLoadLibraryByIdCompletedDelegate, userState);
 }
Exemplo n.º 16
0
 public void ArmletSendsDataAsync(byte armlet_id, byte[] payload, object userState)
 {
     if ((this.onBeginArmletSendsDataDelegate == null))
     {
         this.onBeginArmletSendsDataDelegate = new BeginOperationDelegate(this.OnBeginArmletSendsData);
     }
     if ((this.onEndArmletSendsDataDelegate == null))
     {
         this.onEndArmletSendsDataDelegate = new EndOperationDelegate(this.OnEndArmletSendsData);
     }
     if ((this.onArmletSendsDataCompletedDelegate == null))
     {
         this.onArmletSendsDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnArmletSendsDataCompleted);
     }
     base.InvokeAsync(this.onBeginArmletSendsDataDelegate, new object[] {
         armlet_id,
         payload
     }, this.onEndArmletSendsDataDelegate, this.onArmletSendsDataCompletedDelegate, userState);
 }
Exemplo n.º 17
0
 public void ReceiveMessageAsync(string user, string msg, object userState)
 {
     if ((this.onBeginReceiveMessageDelegate == null))
     {
         this.onBeginReceiveMessageDelegate = new BeginOperationDelegate(this.OnBeginReceiveMessage);
     }
     if ((this.onEndReceiveMessageDelegate == null))
     {
         this.onEndReceiveMessageDelegate = new EndOperationDelegate(this.OnEndReceiveMessage);
     }
     if ((this.onReceiveMessageCompletedDelegate == null))
     {
         this.onReceiveMessageCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnReceiveMessageCompleted);
     }
     base.InvokeAsync(this.onBeginReceiveMessageDelegate, new object[] {
         user,
         msg
     }, this.onEndReceiveMessageDelegate, this.onReceiveMessageCompletedDelegate, userState);
 }
Exemplo n.º 18
0
 public void GetArchiveLogsAsync(System.DateTime from, System.Guid idArchive, object userState)
 {
     if ((this.onBeginGetArchiveLogsDelegate == null))
     {
         this.onBeginGetArchiveLogsDelegate = new BeginOperationDelegate(this.OnBeginGetArchiveLogs);
     }
     if ((this.onEndGetArchiveLogsDelegate == null))
     {
         this.onEndGetArchiveLogsDelegate = new EndOperationDelegate(this.OnEndGetArchiveLogs);
     }
     if ((this.onGetArchiveLogsCompletedDelegate == null))
     {
         this.onGetArchiveLogsCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetArchiveLogsCompleted);
     }
     base.InvokeAsync(this.onBeginGetArchiveLogsDelegate, new object[] {
         from,
         idArchive
     }, this.onEndGetArchiveLogsDelegate, this.onGetArchiveLogsCompletedDelegate, userState);
 }
Exemplo n.º 19
0
 public void InterBigScreenAsync(string conferenceName, string sharer, object userState)
 {
     if ((this.onBeginInterBigScreenDelegate == null))
     {
         this.onBeginInterBigScreenDelegate = new BeginOperationDelegate(this.OnBeginInterBigScreen);
     }
     if ((this.onEndInterBigScreenDelegate == null))
     {
         this.onEndInterBigScreenDelegate = new EndOperationDelegate(this.OnEndInterBigScreen);
     }
     if ((this.onInterBigScreenCompletedDelegate == null))
     {
         this.onInterBigScreenCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnInterBigScreenCompleted);
     }
     base.InvokeAsync(this.onBeginInterBigScreenDelegate, new object[] {
         conferenceName,
         sharer
     }, this.onEndInterBigScreenDelegate, this.onInterBigScreenCompletedDelegate, userState);
 }
Exemplo n.º 20
0
 public void getWeatherbyCityNameProAsync(string theCityName, string theUserID, object userState)
 {
     if ((this.onBegingetWeatherbyCityNameProDelegate == null))
     {
         this.onBegingetWeatherbyCityNameProDelegate = new BeginOperationDelegate(this.OnBegingetWeatherbyCityNamePro);
     }
     if ((this.onEndgetWeatherbyCityNameProDelegate == null))
     {
         this.onEndgetWeatherbyCityNameProDelegate = new EndOperationDelegate(this.OnEndgetWeatherbyCityNamePro);
     }
     if ((this.ongetWeatherbyCityNameProCompletedDelegate == null))
     {
         this.ongetWeatherbyCityNameProCompletedDelegate = new System.Threading.SendOrPostCallback(this.OngetWeatherbyCityNameProCompleted);
     }
     base.InvokeAsync(this.onBegingetWeatherbyCityNameProDelegate, new object[] {
         theCityName,
         theUserID
     }, this.onEndgetWeatherbyCityNameProDelegate, this.ongetWeatherbyCityNameProCompletedDelegate, userState);
 }
Exemplo n.º 21
0
 public void FillConversationAsync(string conferenceName, string meetAddress, object userState)
 {
     if ((this.onBeginFillConversationDelegate == null))
     {
         this.onBeginFillConversationDelegate = new BeginOperationDelegate(this.OnBeginFillConversation);
     }
     if ((this.onEndFillConversationDelegate == null))
     {
         this.onEndFillConversationDelegate = new EndOperationDelegate(this.OnEndFillConversation);
     }
     if ((this.onFillConversationCompletedDelegate == null))
     {
         this.onFillConversationCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnFillConversationCompleted);
     }
     base.InvokeAsync(this.onBeginFillConversationDelegate, new object[] {
         conferenceName,
         meetAddress
     }, this.onEndFillConversationDelegate, this.onFillConversationCompletedDelegate, userState);
 }
Exemplo n.º 22
0
 public void TianjiaAsync(string nms, string pass, object userState)
 {
     if ((this.onBeginTianjiaDelegate == null))
     {
         this.onBeginTianjiaDelegate = new BeginOperationDelegate(this.OnBeginTianjia);
     }
     if ((this.onEndTianjiaDelegate == null))
     {
         this.onEndTianjiaDelegate = new EndOperationDelegate(this.OnEndTianjia);
     }
     if ((this.onTianjiaCompletedDelegate == null))
     {
         this.onTianjiaCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnTianjiaCompleted);
     }
     base.InvokeAsync(this.onBeginTianjiaDelegate, new object[] {
         nms,
         pass
     }, this.onEndTianjiaDelegate, this.onTianjiaCompletedDelegate, userState);
 }
Exemplo n.º 23
0
 public void PublishAsync(string topic, string content, object userState)
 {
     if ((this.onBeginPublishDelegate == null))
     {
         this.onBeginPublishDelegate = new BeginOperationDelegate(this.OnBeginPublish);
     }
     if ((this.onEndPublishDelegate == null))
     {
         this.onEndPublishDelegate = new EndOperationDelegate(this.OnEndPublish);
     }
     if ((this.onPublishCompletedDelegate == null))
     {
         this.onPublishCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnPublishCompleted);
     }
     base.InvokeAsync(this.onBeginPublishDelegate, new object[] {
         topic,
         content
     }, this.onEndPublishDelegate, this.onPublishCompletedDelegate, userState);
 }
Exemplo n.º 24
0
 public void deleteAsync(string location, string holidayDate, object userState)
 {
     if ((this.onBegindeleteDelegate == null))
     {
         this.onBegindeleteDelegate = new BeginOperationDelegate(this.OnBegindelete);
     }
     if ((this.onEnddeleteDelegate == null))
     {
         this.onEnddeleteDelegate = new EndOperationDelegate(this.OnEnddelete);
     }
     if ((this.ondeleteCompletedDelegate == null))
     {
         this.ondeleteCompletedDelegate = new System.Threading.SendOrPostCallback(this.OndeleteCompleted);
     }
     base.InvokeAsync(this.onBegindeleteDelegate, new object[] {
         location,
         holidayDate
     }, this.onEnddeleteDelegate, this.ondeleteCompletedDelegate, userState);
 }
Exemplo n.º 25
0
 public void CommandAsync(string Action, string Data, object userState)
 {
     if ((this.onBeginCommandDelegate == null))
     {
         this.onBeginCommandDelegate = new BeginOperationDelegate(this.OnBeginCommand);
     }
     if ((this.onEndCommandDelegate == null))
     {
         this.onEndCommandDelegate = new EndOperationDelegate(this.OnEndCommand);
     }
     if ((this.onCommandCompletedDelegate == null))
     {
         this.onCommandCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCommandCompleted);
     }
     base.InvokeAsync(this.onBeginCommandDelegate, new object[] {
         Action,
         Data
     }, this.onEndCommandDelegate, this.onCommandCompletedDelegate, userState);
 }
Exemplo n.º 26
0
 public void DivideAsync(int x, int y, object userState)
 {
     if ((this.onBeginDivideDelegate == null))
     {
         this.onBeginDivideDelegate = new BeginOperationDelegate(this.OnBeginDivide);
     }
     if ((this.onEndDivideDelegate == null))
     {
         this.onEndDivideDelegate = new EndOperationDelegate(this.OnEndDivide);
     }
     if ((this.onDivideCompletedDelegate == null))
     {
         this.onDivideCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnDivideCompleted);
     }
     base.InvokeAsync(this.onBeginDivideDelegate, new object[] {
         x,
         y
     }, this.onEndDivideDelegate, this.onDivideCompletedDelegate, userState);
 }
Exemplo n.º 27
0
 public void ClockInAsync(string employeePinCode, IManage.Core.IManageClockService.ClockInOut clockInOut, object userState)
 {
     if ((this.onBeginClockInDelegate == null))
     {
         this.onBeginClockInDelegate = new BeginOperationDelegate(this.OnBeginClockIn);
     }
     if ((this.onEndClockInDelegate == null))
     {
         this.onEndClockInDelegate = new EndOperationDelegate(this.OnEndClockIn);
     }
     if ((this.onClockInCompletedDelegate == null))
     {
         this.onClockInCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnClockInCompleted);
     }
     base.InvokeAsync(this.onBeginClockInDelegate, new object[] {
         employeePinCode,
         clockInOut
     }, this.onEndClockInDelegate, this.onClockInCompletedDelegate, userState);
 }
Exemplo n.º 28
0
 public void addCarLocationAsync(ZIT.AppRouteServer.AppServerAPI.CarLocationManagerService.CredentialSoapHeader CredentialSoapHeader, string arg0, object userState)
 {
     if ((this.onBeginaddCarLocationDelegate == null))
     {
         this.onBeginaddCarLocationDelegate = new BeginOperationDelegate(this.OnBeginaddCarLocation);
     }
     if ((this.onEndaddCarLocationDelegate == null))
     {
         this.onEndaddCarLocationDelegate = new EndOperationDelegate(this.OnEndaddCarLocation);
     }
     if ((this.onaddCarLocationCompletedDelegate == null))
     {
         this.onaddCarLocationCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnaddCarLocationCompleted);
     }
     base.InvokeAsync(this.onBeginaddCarLocationDelegate, new object[] {
         CredentialSoapHeader,
         arg0
     }, this.onEndaddCarLocationDelegate, this.onaddCarLocationCompletedDelegate, userState);
 }
Exemplo n.º 29
0
 public void GetEntityAsync(string entitySetName, System.Collections.Generic.List <Microsoft.Test.Taupo.Astoria.Contracts.WebServices.DataOracleService.Silverlight.SerializableNamedValue> keys, object userState)
 {
     if ((this.onBeginGetEntityDelegate == null))
     {
         this.onBeginGetEntityDelegate = new BeginOperationDelegate(this.OnBeginGetEntity);
     }
     if ((this.onEndGetEntityDelegate == null))
     {
         this.onEndGetEntityDelegate = new EndOperationDelegate(this.OnEndGetEntity);
     }
     if ((this.onGetEntityCompletedDelegate == null))
     {
         this.onGetEntityCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetEntityCompleted);
     }
     base.InvokeAsync(this.onBeginGetEntityDelegate, new object[] {
         entitySetName,
         keys
     }, this.onEndGetEntityDelegate, this.onGetEntityCompletedDelegate, userState);
 }
Exemplo n.º 30
0
 public void LoginAsync(string username, string password, 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[] {
         username,
         password
     }, this.onEndLoginDelegate, this.onLoginCompletedDelegate, userState);
 }