Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using Microsoft.AspNetCore.Components.Authorization;
using Microsoft.AspNetCore.Components.Endpoints.Infrastructure;
using Microsoft.AspNetCore.Components.WebAssembly.Server;
using Microsoft.AspNetCore.Components.WebAssembly.Services;
using Microsoft.Extensions.DependencyInjection.Extensions;

namespace Microsoft.Extensions.DependencyInjection;
Expand All @@ -24,6 +25,7 @@ public static IRazorComponentsBuilder AddInteractiveWebAssemblyComponents(this I
ArgumentNullException.ThrowIfNull(builder, nameof(builder));

builder.Services.TryAddEnumerable(ServiceDescriptor.Singleton<RenderModeEndpointProvider, WebAssemblyEndpointProvider>());
builder.Services.TryAddScoped<LazyAssemblyLoader>();

return builder;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

using System.Runtime.CompilerServices;

[assembly: TypeForwardedTo(typeof(Microsoft.AspNetCore.Components.WebAssembly.Services.LazyAssemblyLoader))]

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux ARM64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux ARM64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux ARM)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux ARM)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl ARM64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl ARM64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: macOS x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: macOS x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl ARM)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: Linux Musl ARM)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: macOS arm64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Build: macOS arm64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr (Tests: Ubuntu x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr (Tests: Ubuntu x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Test: Ubuntu x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Test: Ubuntu x64)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr (Tests: macOS)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr (Tests: macOS)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Test: macOS)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci (Build Test: macOS)

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-ci

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LazyAssemblyLoader' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)

Check failure on line 6 in src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs

View check run for this annotation

Azure Pipelines / aspnetcore-quarantined-pr

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs#L6

src/Components/WebAssembly/WebAssembly/src/Properties/AssemblyInfo.cs(6,12): error RS0016: (NETCORE_ENGINEERING_TELEMETRY=Build) Symbol 'LoadAssembliesAsync' is not part of the declared API (https://github.com/dotnet/roslyn-analyzers/blob/main/src/PublicApiAnalyzers/PublicApiAnalyzers.Help.md)
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
#nullable enable
abstract Microsoft.JSInterop.JSInProcessRuntime.InvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo) -> string?
abstract Microsoft.JSInterop.JSRuntime.BeginInvokeJS(in Microsoft.JSInterop.Infrastructure.JSInvocationInfo invocationInfo) -> void
Microsoft.AspNetCore.Components.WebAssembly.Services.LazyAssemblyLoader
Microsoft.AspNetCore.Components.WebAssembly.Services.LazyAssemblyLoader.LazyAssemblyLoader(Microsoft.JSInterop.IJSRuntime! jsRuntime) -> void
Microsoft.AspNetCore.Components.WebAssembly.Services.LazyAssemblyLoader.LoadAssembliesAsync(System.Collections.Generic.IEnumerable<string!>! assembliesToLoad) -> System.Threading.Tasks.Task<System.Collections.Generic.IEnumerable<System.Reflection.Assembly!>!>!
Microsoft.JSInterop.IJSInProcessObjectReference.GetValue<TValue>(string! identifier) -> TValue
Microsoft.JSInterop.IJSInProcessObjectReference.InvokeNew(string! identifier, object?[]? args) -> Microsoft.JSInterop.IJSInProcessObjectReference!
Microsoft.JSInterop.IJSInProcessObjectReference.SetValue<TValue>(string! identifier, TValue value) -> void
Expand Down
Loading