public void FunctionInSIDAsync(string inxml, object userState) { if (this.FunctionInSIDOperationCompleted == null) { this.FunctionInSIDOperationCompleted = new System.Threading.SendOrPostCallback(this.OnFunctionInSIDOperationCompleted); } base.InvokeAsync("FunctionInSID", new object[] { inxml }, this.FunctionInSIDOperationCompleted, userState); }
public void GetCollectionDataAsync(object userState) { if ((this.onBeginGetCollectionDataDelegate == null)) { this.onBeginGetCollectionDataDelegate = new BeginOperationDelegate(this.OnBeginGetCollectionData); } if ((this.onEndGetCollectionDataDelegate == null)) { this.onEndGetCollectionDataDelegate = new EndOperationDelegate(this.OnEndGetCollectionData); } if ((this.onGetCollectionDataCompletedDelegate == null)) { this.onGetCollectionDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetCollectionDataCompleted); } base.InvokeAsync(this.onBeginGetCollectionDataDelegate, null, this.onEndGetCollectionDataDelegate, this.onGetCollectionDataCompletedDelegate, userState); }
public void CloseAsync(object userState) { if ((this.onBeginCloseDelegate == null)) { this.onBeginCloseDelegate = new BeginOperationDelegate(this.OnBeginClose); } if ((this.onEndCloseDelegate == null)) { this.onEndCloseDelegate = new EndOperationDelegate(this.OnEndClose); } if ((this.onCloseCompletedDelegate == null)) { this.onCloseCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCloseCompleted); } base.InvokeAsync(this.onBeginCloseDelegate, null, this.onEndCloseDelegate, this.onCloseCompletedDelegate, userState); }
public void JSMGetDatabasesAsync(object userState) { if ((this.onBeginJSMGetDatabasesDelegate == null)) { this.onBeginJSMGetDatabasesDelegate = new BeginOperationDelegate(this.OnBeginJSMGetDatabases); } if ((this.onEndJSMGetDatabasesDelegate == null)) { this.onEndJSMGetDatabasesDelegate = new EndOperationDelegate(this.OnEndJSMGetDatabases); } if ((this.onJSMGetDatabasesCompletedDelegate == null)) { this.onJSMGetDatabasesCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnJSMGetDatabasesCompleted); } base.InvokeAsync(this.onBeginJSMGetDatabasesDelegate, null, this.onEndJSMGetDatabasesDelegate, this.onJSMGetDatabasesCompletedDelegate, userState); }
internal void InvokeOnMainThread(System.Threading.SendOrPostCallback cb, object state) { using (var d = new NSSynchronizationContextDispatcher(cb, state)) { #if NET Messaging.void_objc_msgSend_NativeHandle_NativeHandle_bool(d.Handle, Selector.GetHandle(Selector.PerformSelectorOnMainThreadWithObjectWaitUntilDone), Selector.GetHandle(NSDispatcher.SelectorName), d.Handle, true); #else #if MONOMAC Messaging.void_objc_msgSend_IntPtr_IntPtr_bool(d.Handle, Selector.PerformSelectorOnMainThreadWithObjectWaitUntilDoneHandle, NSDispatcher.Selector.Handle, d.Handle, true); #else Messaging.void_objc_msgSend_IntPtr_IntPtr_bool(d.Handle, Selector.GetHandle(Selector.PerformSelectorOnMainThreadWithObjectWaitUntilDone), Selector.GetHandle(NSDispatcher.SelectorName), d.Handle, true); #endif #endif } }
public void CelsiusToFahrenheitAsync(string Celsius, object userState) { if ((this.onBeginCelsiusToFahrenheitDelegate == null)) { this.onBeginCelsiusToFahrenheitDelegate = new BeginOperationDelegate(this.OnBeginCelsiusToFahrenheit); } if ((this.onEndCelsiusToFahrenheitDelegate == null)) { this.onEndCelsiusToFahrenheitDelegate = new EndOperationDelegate(this.OnEndCelsiusToFahrenheit); } if ((this.onCelsiusToFahrenheitCompletedDelegate == null)) { this.onCelsiusToFahrenheitCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnCelsiusToFahrenheitCompleted); } base.InvokeAsync(this.onBeginCelsiusToFahrenheitDelegate, new object[] { Celsius }, this.onEndCelsiusToFahrenheitDelegate, this.onCelsiusToFahrenheitCompletedDelegate, userState); }
public void FahrenheitToCelsiusAsync(string Fahrenheit, object userState) { if ((this.onBeginFahrenheitToCelsiusDelegate == null)) { this.onBeginFahrenheitToCelsiusDelegate = new BeginOperationDelegate(this.OnBeginFahrenheitToCelsius); } if ((this.onEndFahrenheitToCelsiusDelegate == null)) { this.onEndFahrenheitToCelsiusDelegate = new EndOperationDelegate(this.OnEndFahrenheitToCelsius); } if ((this.onFahrenheitToCelsiusCompletedDelegate == null)) { this.onFahrenheitToCelsiusCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnFahrenheitToCelsiusCompleted); } base.InvokeAsync(this.onBeginFahrenheitToCelsiusDelegate, new object[] { Fahrenheit }, this.onEndFahrenheitToCelsiusDelegate, this.onFahrenheitToCelsiusCompletedDelegate, userState); }
public void GetHelloDataAsync(TestXamarin4WCFService.HelloWorldData helloWorldData, object userState) { if ((this.onBeginGetHelloDataDelegate == null)) { this.onBeginGetHelloDataDelegate = new BeginOperationDelegate(this.OnBeginGetHelloData); } if ((this.onEndGetHelloDataDelegate == null)) { this.onEndGetHelloDataDelegate = new EndOperationDelegate(this.OnEndGetHelloData); } if ((this.onGetHelloDataCompletedDelegate == null)) { this.onGetHelloDataCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnGetHelloDataCompleted); } base.InvokeAsync(this.onBeginGetHelloDataDelegate, new object[] { helloWorldData }, this.onEndGetHelloDataDelegate, this.onGetHelloDataCompletedDelegate, userState); }
public void SayHelloToAsync(string name, object userState) { if ((this.onBeginSayHelloToDelegate == null)) { this.onBeginSayHelloToDelegate = new BeginOperationDelegate(this.OnBeginSayHelloTo); } if ((this.onEndSayHelloToDelegate == null)) { this.onEndSayHelloToDelegate = new EndOperationDelegate(this.OnEndSayHelloTo); } if ((this.onSayHelloToCompletedDelegate == null)) { this.onSayHelloToCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSayHelloToCompleted); } base.InvokeAsync(this.onBeginSayHelloToDelegate, new object[] { name }, this.onEndSayHelloToDelegate, this.onSayHelloToCompletedDelegate, userState); }
public void SubscribeAsync(string topic, object userState) { if ((this.onBeginSubscribeDelegate == null)) { this.onBeginSubscribeDelegate = new BeginOperationDelegate(this.OnBeginSubscribe); } if ((this.onEndSubscribeDelegate == null)) { this.onEndSubscribeDelegate = new EndOperationDelegate(this.OnEndSubscribe); } if ((this.onSubscribeCompletedDelegate == null)) { this.onSubscribeCompletedDelegate = new System.Threading.SendOrPostCallback(this.OnSubscribeCompleted); } base.InvokeAsync(this.onBeginSubscribeDelegate, new object[] { topic }, this.onEndSubscribeDelegate, this.onSubscribeCompletedDelegate, userState); }
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); }
public void getTiledDataDirectURLsAsync(string requestInfoXml, object userState) { if ((this.getTiledDataDirectURLsOperationCompleted == null)) { this.getTiledDataDirectURLsOperationCompleted = new System.Threading.SendOrPostCallback(this.OngetTiledDataDirectURLsCompleted); } this.InvokeAsync("getTiledDataDirectURLs", new object[] { requestInfoXml}, this.getTiledDataDirectURLsOperationCompleted, userState); }
protected override void PostToUnderlyingSynchronizationContext(System.Threading.SendOrPostCallback callback, object state) { this.addToLog(FactoryLogEntry.OuterPostToUnderlyingSynchronizationContext); base.PostToUnderlyingSynchronizationContext(callback, state); }
public void DelAbonentAsync(string phone, string acc, string baseName, object userState) { if (this.DelAbonentOperationCompleted == null) { this.DelAbonentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnDelAbonentOperationCompleted); } base.InvokeAsync("DelAbonent", new object[] { phone, acc, baseName }, this.DelAbonentOperationCompleted, userState); }
public void ChangeDataAbonentAsync(string phone, string userName, string email, object userState) { if (this.ChangeDataAbonentOperationCompleted == null) { this.ChangeDataAbonentOperationCompleted = new System.Threading.SendOrPostCallback(this.OnChangeDataAbonentOperationCompleted); } base.InvokeAsync("ChangeDataAbonent", new object[] { phone, userName, email }, this.ChangeDataAbonentOperationCompleted, userState); }
public void validateChunksAsync(string requestInfoXml, object userState) { if ((this.validateChunksOperationCompleted == null)) { this.validateChunksOperationCompleted = new System.Threading.SendOrPostCallback(this.OnvalidateChunksCompleted); } this.InvokeAsync("validateChunks", new object[] { requestInfoXml}, this.validateChunksOperationCompleted, userState); }
protected void InitializeDelegates() { this.onProgressReportDelegate = new System.Threading.SendOrPostCallback(this.ReportProgress); this.onCompletedDelegate = new System.Threading.SendOrPostCallback(this.GenerateOpCompleted); }
public void GetChangesForSnAsync(string subscribers, object userState) { if (this.GetChangesForSnOperationCompleted == null) { this.GetChangesForSnOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetChangesForSnOperationCompleted); } base.InvokeAsync("GetChangesForSn", new object[] { subscribers }, this.GetChangesForSnOperationCompleted, userState); }
public void ConfirmReceptionsAsync(long[] outs, object userState) { if (this.ConfirmReceptionsOperationCompleted == null) { this.ConfirmReceptionsOperationCompleted = new System.Threading.SendOrPostCallback(this.OnConfirmReceptionsOperationCompleted); } base.InvokeAsync("ConfirmReceptions", new object[] { outs }, this.ConfirmReceptionsOperationCompleted, userState); }
public void processAOIAsync(string requestInfoXml, object userState) { if ((this.processAOIOperationCompleted == null)) { this.processAOIOperationCompleted = new System.Threading.SendOrPostCallback(this.OnprocessAOICompleted); } this.InvokeAsync("processAOI", new object[] { requestInfoXml}, this.processAOIOperationCompleted, userState); }
public void GetRestFlatCardsByFlatCardIdAsync(long flatCardId, object userState) { if (this.GetRestFlatCardsByFlatCardIdOperationCompleted == null) { this.GetRestFlatCardsByFlatCardIdOperationCompleted = new System.Threading.SendOrPostCallback(this.OnGetRestFlatCardsByFlatCardIdOperationCompleted); } base.InvokeAsync("GetRestFlatCardsByFlatCardId", new object[] { (long) flatCardId }, this.GetRestFlatCardsByFlatCardIdOperationCompleted, userState); }
public void Dispose() { if (!this.m_Disposed) { this.Reset(); this.onProgressReportDelegate = null; this.onCompletedDelegate = null; this.m_Disposed = true; } }