1 write to LastCompletionResult
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
1051
LastCompletionResult
= invocationResult;
12 references to LastCompletionResult
Microsoft.JSInterop.Tests (12)
Infrastructure\DotNetDispatcherTest.cs (12)
600
Assert.True(jsRuntime.
LastCompletionResult
.Success);
601
var resultJson = Assert.IsType<string>(jsRuntime.
LastCompletionResult
.ResultJson);
640
Assert.True(jsRuntime.
LastCompletionResult
.Success);
664
Assert.True(jsRuntime.
LastCompletionResult
.Success);
682
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
686
Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
704
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
708
Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.
LastCompletionResult
.Exception.ToString());
724
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
725
var exception = jsRuntime.
LastCompletionResult
.Exception;
740
Assert.False(jsRuntime.
LastCompletionResult
.Success); // Fails
741
var exception = jsRuntime.
LastCompletionResult
.Exception;