1 write to LastCompletionResult
Microsoft.JSInterop.Tests (1)
Infrastructure\DotNetDispatcherTest.cs (1)
1104LastCompletionResult = invocationResult;
12 references to LastCompletionResult
Microsoft.JSInterop.Tests (12)
Infrastructure\DotNetDispatcherTest.cs (12)
644Assert.True(jsRuntime.LastCompletionResult.Success); 645var resultJson = Assert.IsType<string>(jsRuntime.LastCompletionResult.ResultJson); 684Assert.True(jsRuntime.LastCompletionResult.Success); 708Assert.True(jsRuntime.LastCompletionResult.Success); 726Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 730Assert.Contains(nameof(ThrowingClass.ThrowingMethod), jsRuntime.LastCompletionResult.Exception.ToString()); 748Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 752Assert.Contains(nameof(ThrowingClass.AsyncThrowingMethod), jsRuntime.LastCompletionResult.Exception.ToString()); 768Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 769var exception = jsRuntime.LastCompletionResult.Exception; 784Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 785var exception = jsRuntime.LastCompletionResult.Exception;