Skip to content

Commit bd94cbe

Browse files
authored
[Blazor] Make multithreading APIs internal (#57286)
1 parent 41b4409 commit bd94cbe

File tree

3 files changed

+2
-3
lines changed

3 files changed

+2
-3
lines changed

src/Components/WebAssembly/Server/src/Builder/WebAssemblyComponentsEndpointOptions.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public sealed class WebAssemblyComponentsEndpointOptions
2525
/// Note that enabling this feature can restrict your ability to use other JavaScript APIs. For more
2626
/// information, see <see href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SharedArrayBuffer#security_requirements" />.
2727
/// </summary>
28-
public bool ServeMultithreadingHeaders { get; set; }
28+
internal bool ServeMultithreadingHeaders { get; set; }
2929

3030
/// <summary>
3131
/// Gets or sets the <see cref="string"/> that determines the static assets manifest path mapped to this app.

src/Components/WebAssembly/Server/src/Microsoft.AspNetCore.Components.WebAssembly.Server.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
<ItemGroup>
2222
<InternalsVisibleTo Include="Microsoft.AspNetCore.Components.WebAssembly.Server.Tests" />
23+
<InternalsVisibleTo Include="ThreadingApp.Server" />
2324
</ItemGroup>
2425

2526
<ItemGroup>

src/Components/WebAssembly/Server/src/PublicAPI.Unshipped.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ Microsoft.AspNetCore.Components.WebAssembly.Server.AuthenticationStateSerializat
55
Microsoft.AspNetCore.Components.WebAssembly.Server.AuthenticationStateSerializationOptions.SerializationCallback.set -> void
66
Microsoft.AspNetCore.Components.WebAssembly.Server.AuthenticationStateSerializationOptions.SerializeAllClaims.get -> bool
77
Microsoft.AspNetCore.Components.WebAssembly.Server.AuthenticationStateSerializationOptions.SerializeAllClaims.set -> void
8-
Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions.ServeMultithreadingHeaders.get -> bool
9-
Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions.ServeMultithreadingHeaders.set -> void
108
Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions.StaticAssetsManifestPath.get -> string?
119
Microsoft.AspNetCore.Components.WebAssembly.Server.WebAssemblyComponentsEndpointOptions.StaticAssetsManifestPath.set -> void
1210
static Microsoft.Extensions.DependencyInjection.WebAssemblyRazorComponentsBuilderExtensions.AddAuthenticationStateSerialization(this Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder! builder, System.Action<Microsoft.AspNetCore.Components.WebAssembly.Server.AuthenticationStateSerializationOptions!>? configure = null) -> Microsoft.Extensions.DependencyInjection.IRazorComponentsBuilder!

0 commit comments

Comments
 (0)