50 instantiations of JSInvokable
Aspire.Dashboard (40)
Components\Controls\ApplicationSummary.razor.cs (5)
983
[
JSInvokable
]
986
[
JSInvokable
]
991
[
JSInvokable
]
995
[
JSInvokable
]
999
[
JSInvokable
]
Components\Controls\Chart\MeterOverview.razor.cs (1)
105
[
JSInvokable
]
Components\Controls\Chart\PlotlyChart.razor.cs (1)
222
[
JSInvokable
]
Components\Controls\TerminalView.razor.cs (1)
333
[
JSInvokable
]
Components\Layout\MobileNavMenu.razor.cs (2)
93
[
JSInvokable
]
100
[
JSInvokable
]
Components\Layout\ResourceServiceConnectionProvider.cs (1)
91
[
JSInvokable
]
Components\Layout\ResourcesLayout.Activity.cs (1)
52
[
JSInvokable
]
Components\Layout\ResourcesLayout.razor.cs (7)
753
[
JSInvokable
]
771
[
JSInvokable
]
837
[
JSInvokable
]
853
[
JSInvokable
]
1682
[
JSInvokable
]
1714
[
JSInvokable
]
1790
[
JSInvokable
]
Components\Layout\TerminalDock.razor.cs (2)
224
[
JSInvokable
]
304
[
JSInvokable
]
Components\Legacy\Layout\LegacyMobileNavMenu.razor.cs (2)
101
[
JSInvokable
]
108
[
JSInvokable
]
Components\Legacy\Pages\Resources.razor.cs (3)
483
[
JSInvokable
]
487
[
JSInvokable
]
500
[
JSInvokable
]
Components\Legacy\Pages\TerminalWindow.razor.cs (2)
203
[
JSInvokable
]
217
[
JSInvokable
]
Components\Pages\Metrics.razor.cs (1)
154
[
JSInvokable
]
Components\Pages\Resources.razor.cs (5)
518
[
JSInvokable
]
522
[
JSInvokable
]
527
[
JSInvokable
]
540
[
JSInvokable
]
552
[
JSInvokable
]
Components\Pages\TerminalWindow.razor.cs (2)
203
[
JSInvokable
]
217
[
JSInvokable
]
Components\Resize\BrowserDimensionWatcher.cs (1)
48
[
JSInvokable
]
Model\TerminalWindowLauncher.cs (2)
142
[
JSInvokable
]
178
[
JSInvokable
]
ShortcutManager.cs (1)
40
[
JSInvokable
]
Microsoft.AspNetCore.Components.Platform (1)
JSCallback.cs (1)
17
[
JSInvokable
]
Microsoft.AspNetCore.Components.Web (7)
Forms\InputFile\InputFileJsCallbacksRelay.cs (1)
23
[
JSInvokable
]
Virtualization\VirtualizeJsInterop.cs (2)
40
[
JSInvokable
]
46
[
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 JSInvokable
Microsoft.JSInterop (11)
Infrastructure\DotNetDispatcher.cs (8)
385
throw new ArgumentException($"The assembly '{assemblyKey.AssemblyName}' does not contain a public invokable method with [{nameof(
JSInvokableAttribute
)}(\"{methodIdentifier}\")].");
428
throw new ArgumentException($"The type '{type.Name}' does not contain a public invokable method with [{nameof(
JSInvokableAttribute
)}(\"{methodIdentifier}\")].");
437
if (method.ContainsGenericParameters || !method.IsDefined(typeof(
JSInvokableAttribute
), inherit: false))
442
foreach (
var
attr in method.GetCustomAttributes<
JSInvokableAttribute
>(false))
476
if (method.ContainsGenericParameters || !method.IsDefined(typeof(
JSInvokableAttribute
), inherit: false))
481
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