ServiceFacade: Bei DoAsync() leere Callback-Actions abfangen
This commit is contained in:
@@ -786,14 +786,14 @@ namespace BeWo.ServiceProxy
|
||||
DispatcherPriority.Normal,
|
||||
(Action)delegate
|
||||
{
|
||||
pCallback();
|
||||
pCallback?.Invoke();
|
||||
});
|
||||
|
||||
Action<Exception> tErrorCallback = (t) => dispatcher.BeginInvoke(
|
||||
DispatcherPriority.Normal,
|
||||
(Action)delegate
|
||||
{
|
||||
pErrorCallback(t);
|
||||
pErrorCallback?.Invoke(t);
|
||||
});
|
||||
|
||||
DoAsync<TClient, TInterface>(pAction, tCallback, tErrorCallback, showWaitDialog);
|
||||
|
||||
Reference in New Issue
Block a user