13 references to JSInvokable
Microsoft.AspNetCore.Components.WebAssembly (4)
HotReload\WebAssemblyHotReload.cs (2)
45
[
JSInvokable
(nameof(ApplyHotReloadDelta))]
67
[
JSInvokable
(nameof(GetApplyUpdateCapabilities))]
Infrastructure\JSInteropMethods.cs (2)
27
[
JSInvokable
(nameof(NotifyLocationChanged))]
36
[
JSInvokable
(nameof(NotifyLocationChangingAsync))]
Microsoft.JSInterop.Tests (9)
Infrastructure\DotNetDispatcherTest.cs (9)
854
[
JSInvokable
("MethodOnInternalType")] public void MyMethod() { }
862
[
JSInvokable
("PrivateMethod")] private static void MyPrivateMethod() { }
863
[
JSInvokable
("ProtectedMethod")] protected static void MyProtectedMethod() { }
867
[
JSInvokable
("InvocableStaticVoid")]
873
[
JSInvokable
("InvocableStaticNonVoid")]
877
[
JSInvokable
("InvocableStaticWithParams")]
893
[
JSInvokable
(nameof(IncorrectDotNetObjectRefUsage))]
1022
[
JSInvokable
("StaticGenericMethod")] public static string StaticGenericMethod<TValue>(TValue input) => input.ToString();
1023
[
JSInvokable
("InstanceGenericMethod")] public string GenericMethod<TValue>(TValue input) => input.ToString();