1 write to LastCompletionResult
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
1115
LastCompletionResult
= invocationResult;
12 references to LastCompletionResult
Microsoft.JSInterop.Tests (12)
Infrastructure\DotNetDispatcherTest.cs (12)
645
Assert.True(jsRuntime.
LastCompletionResult
.Success);
646
var resultJson = Assert.IsType<string>(jsRuntime.
LastCompletionResult
.ResultJson);
685
Assert.True(jsRuntime.
LastCompletionResult
.Success);
709
Assert.True(jsRuntime.
LastCompletionResult
.Success);
727
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
731
Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
749
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
753
Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
769
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
770
var exception = jsRuntime.
LastCompletionResult
.Exception;
785
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
786
var exception = jsRuntime.
LastCompletionResult
.Exception;