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