2 writes to Success
Microsoft.JSInterop (2)
Infrastructure\DotNetInvocationResult.cs (2)
21
Success
= false;
33
Success
= true;
14 references to Success
Microsoft.AspNetCore.Components.Server (1)
Circuits\RemoteJSRuntime.cs (1)
67
if (!invocationResult.
Success
)
Microsoft.AspNetCore.Components.WebView (2)
Services\WebViewJSRuntime.cs (2)
43
var resultJsonOrErrorMessage = invocationResult.
Success
46
_ipcSender.EndInvokeDotNet(invocationInfo.CallId, invocationResult.
Success
, resultJsonOrErrorMessage);
Microsoft.JSInterop.Tests (9)
Infrastructure\DotNetDispatcherTest.cs (7)
608
Assert.True(jsRuntime.LastCompletionResult.
Success
);
648
Assert.True(jsRuntime.LastCompletionResult.
Success
);
672
Assert.True(jsRuntime.LastCompletionResult.
Success
);
690
Assert.False(jsRuntime.LastCompletionResult.
Success
); // Fails
712
Assert.False(jsRuntime.LastCompletionResult.
Success
); // Fails
732
Assert.False(jsRuntime.LastCompletionResult.
Success
); // Fails
748
Assert.False(jsRuntime.LastCompletionResult.
Success
); // Fails
JSRuntimeTest.cs (2)
479
Success = invocationResult.
Success
,
481
ResultError = invocationResult.
Success
? null : new JSError(invocationInfo, invocationResult.Exception),
Microsoft.JSInterop.WebAssembly (2)
WebAssemblyJSRuntime.cs (2)
48
var resultJsonOrErrorMessage = dispatchResult.
Success
51
InternalCalls.EndInvokeDotNetFromJS(callInfo.CallId, dispatchResult.
Success
, resultJsonOrErrorMessage);