Пример #1
0
        private void OnEndInvokeDotNet(string message)
        {
            Operations?.DotNetCompletions.Enqueue(message);
            DotNetInteropCompletion?.Invoke(message);

            NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null);
        }
Пример #2
0
        private void OnEndInvokeDotNet(string completion)
        {
            try
            {
                DotNetInteropCompletion?.Invoke(completion);

                NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null);
            }
            catch (Exception e)
            {
                NextDotNetInteropCompletionReceived?.Completion?.TrySetException(e);
            }
        }
Пример #3
0
        private void OnEndInvokeDotNet(string completion)
        {
            DotNetInteropCompletion?.Invoke(completion);

            NextDotNetInteropCompletionReceived?.Completion?.TrySetResult(null);
        }