2 writes to Success
Microsoft.JSInterop (2)
Infrastructure\DotNetInvocationResult.cs (2)
21Success = false; 33Success = true;
14 references to Success
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSRuntime.cs (1)
67if (!invocationResult.Success)
Microsoft.AspNetCore.Components.WebView (2)
Services\WebViewJSRuntime.cs (2)
58var resultJsonOrErrorMessage = invocationResult.Success 61_ipcSender.EndInvokeDotNet(invocationInfo.CallId, invocationResult.Success, resultJsonOrErrorMessage);
Microsoft.JSInterop.Tests (9)
Infrastructure\DotNetDispatcherTest.cs (7)
645Assert.True(jsRuntime.LastCompletionResult.Success); 685Assert.True(jsRuntime.LastCompletionResult.Success); 709Assert.True(jsRuntime.LastCompletionResult.Success); 727Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 749Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 769Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 785Assert.False(jsRuntime.LastCompletionResult.Success); // Fails
JSRuntimeTest.cs (2)
472Success = invocationResult.Success, 474ResultError = invocationResult.Success ? null : new JSError(invocationInfo, invocationResult.Exception),
Microsoft.JSInterop.WebAssembly (2)
WebAssemblyJSRuntime.cs (2)
88var resultJsonOrErrorMessage = dispatchResult.Success 91InternalCalls.EndInvokeDotNetFromJS(callInfo.CallId, dispatchResult.Success, resultJsonOrErrorMessage);