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)
43var resultJsonOrErrorMessage = invocationResult.Success 46_ipcSender.EndInvokeDotNet(invocationInfo.CallId, invocationResult.Success, resultJsonOrErrorMessage);
Microsoft.JSInterop.Tests (9)
Infrastructure\DotNetDispatcherTest.cs (7)
608Assert.True(jsRuntime.LastCompletionResult.Success); 648Assert.True(jsRuntime.LastCompletionResult.Success); 672Assert.True(jsRuntime.LastCompletionResult.Success); 690Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 712Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 732Assert.False(jsRuntime.LastCompletionResult.Success); // Fails 748Assert.False(jsRuntime.LastCompletionResult.Success); // Fails
JSRuntimeTest.cs (2)
479Success = invocationResult.Success, 481ResultError = invocationResult.Success ? null : new JSError(invocationInfo, invocationResult.Exception),
Microsoft.JSInterop.WebAssembly (2)
WebAssemblyJSRuntime.cs (2)
48var resultJsonOrErrorMessage = dispatchResult.Success 51InternalCalls.EndInvokeDotNetFromJS(callInfo.CallId, dispatchResult.Success, resultJsonOrErrorMessage);