1 write to LastCompletionResult
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
1059
LastCompletionResult
= invocationResult;
12 references to LastCompletionResult
Microsoft.JSInterop.Tests (12)
Infrastructure\DotNetDispatcherTest.cs (12)
608
Assert.True(jsRuntime.
LastCompletionResult
.Success);
609
var resultJson = Assert.IsType<string>(jsRuntime.
LastCompletionResult
.ResultJson);
648
Assert.True(jsRuntime.
LastCompletionResult
.Success);
672
Assert.True(jsRuntime.
LastCompletionResult
.Success);
690
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
694
Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
712
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
716
Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
732
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
733
var exception = jsRuntime.
LastCompletionResult
.Exception;
748
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
749
var exception = jsRuntime.
LastCompletionResult
.Exception;