private void OnEndInvokeDotNet(string message) { Operations?.DotNetCompletions.Enqueue(message); DotNetInteropCompletion?.Invoke(message); NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null); }
private void OnEndInvokeDotNet(string completion) { try { DotNetInteropCompletion?.Invoke(completion); NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null); } catch (Exception e) { NextDotNetInteropCompletionReceived?.Completion?.TrySetException(e); } }
private void OnEndInvokeDotNet(string completion) { DotNetInteropCompletion?.Invoke(completion); NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null); }