18 instantiations of JSInvokableAttribute
Aspire.Dashboard (9)
Components\Controls\Chart\PlotlyChart.razor.cs (1)
222
[
JSInvokable
]
Components\Controls\TerminalView.razor.cs (1)
265
[
JSInvokable
]
Components\Layout\MobileNavMenu.razor.cs (2)
80
[
JSInvokable
]
87
[
JSInvokable
]
Components\Layout\ResourceServiceConnectionProvider.cs (1)
87
[
JSInvokable
]
Components\Pages\Resources.razor.cs (2)
414
[
JSInvokable
]
427
[
JSInvokable
]
Components\Resize\BrowserDimensionWatcher.cs (1)
48
[
JSInvokable
]
ShortcutManager.cs (1)
25
[
JSInvokable
]
Microsoft.AspNetCore.Components.Web (7)
Forms\InputFile\InputFileJsCallbacksRelay.cs (1)
23
[
JSInvokable
]
Virtualization\VirtualizeJsInterop.cs (2)
33
[
JSInvokable
]
39
[
JSInvokable
]
WebRenderer.cs (4)
166
[
JSInvokable
]
176
[
JSInvokable
] // Linker preserves this if you call RootComponents.Add
180
[
JSInvokable
] // Linker preserves this if you call RootComponents.Add
184
[
JSInvokable
] // Linker preserves this if you call RootComponents.Add
Microsoft.AspNetCore.Components.WebAssembly (2)
Infrastructure\JSInteropMethods.cs (2)
20
[
JSInvokable
(nameof(NotifyLocationChanged))]
29
[
JSInvokable
(nameof(NotifyLocationChangingAsync))]
11 references to JSInvokableAttribute
Microsoft.JSInterop (11)
Infrastructure\DotNetDispatcher.cs (8)
363
throw new ArgumentException($"The assembly '{assemblyKey.AssemblyName}' does not contain a public invokable method with [{nameof(
JSInvokableAttribute
)}(\"{methodIdentifier}\")].");
396
throw new ArgumentException($"The type '{type.Name}' does not contain a public invokable method with [{nameof(
JSInvokableAttribute
)}(\"{methodIdentifier}\")].");
405
if (method.ContainsGenericParameters || !method.IsDefined(typeof(
JSInvokableAttribute
), inherit: false))
410
foreach (
var
attr in method.GetCustomAttributes<
JSInvokableAttribute
>(false))
444
if (method.ContainsGenericParameters || !method.IsDefined(typeof(
JSInvokableAttribute
), inherit: false))
449
foreach (
var
attr in method.GetCustomAttributes<
JSInvokableAttribute
>(false))
Infrastructure\DotNetInvocationInfo.cs (1)
33
/// Gets the identifier of the method to be invoked. This is the value specified in the <see cref="
JSInvokableAttribute
"/>.
JSInvokableAttribute.cs (2)
24
/// Constructs an instance of <see cref="
JSInvokableAttribute
"/> without setting
32
/// Constructs an instance of <see cref="
JSInvokableAttribute
"/> using the specified