@@ -12,38 +12,38 @@ public static void NotifyLocationChanged(string uri, bool isInterceptedLink) { }
12
12
}
13
13
namespace Microsoft . AspNetCore . Blazor . Hosting
14
14
{
15
- public static partial class BlazorWebAssemblyHost
15
+ [ System . Runtime . InteropServices . StructLayoutAttribute ( System . Runtime . InteropServices . LayoutKind . Sequential ) ]
16
+ public readonly partial struct RootComponentMapping
16
17
{
17
- public static Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder CreateDefaultBuilder ( ) { throw null ; }
18
+ private readonly object _dummy ;
19
+ public RootComponentMapping ( System . Type componentType , string selector ) { throw null ; }
20
+ public System . Type ComponentType { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
21
+ public string Selector { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
18
22
}
19
- public partial interface IWebAssemblyHost : System . IDisposable
23
+ public partial class RootComponentMappingCollection : System . Collections . ObjectModel . Collection < Microsoft . AspNetCore . Blazor . Hosting . RootComponentMapping >
20
24
{
21
- System . IServiceProvider Services { get ; }
22
- System . Threading . Tasks . Task StartAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
23
- System . Threading . Tasks . Task StopAsync ( System . Threading . CancellationToken cancellationToken = default ( System . Threading . CancellationToken ) ) ;
25
+ public RootComponentMappingCollection ( ) { }
26
+ public void Add ( System . Type componentType , string selector ) { }
27
+ public void AddRange ( System . Collections . Generic . IEnumerable < Microsoft . AspNetCore . Blazor . Hosting . RootComponentMapping > items ) { }
28
+ public void Add < TComponent > ( string selector ) where TComponent : Microsoft . AspNetCore . Components . IComponent { }
24
29
}
25
- public partial interface IWebAssemblyHostBuilder
30
+ public sealed partial class WebAssemblyHost : System . IAsyncDisposable
26
31
{
27
- System . Collections . Generic . IDictionary < object , object > Properties { get ; }
28
- Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHost Build ( ) ;
29
- Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder ConfigureServices ( System . Action < Microsoft . AspNetCore . Blazor . Hosting . WebAssemblyHostBuilderContext , Microsoft . Extensions . DependencyInjection . IServiceCollection > configureDelegate ) ;
30
- Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder UseServiceProviderFactory < TContainerBuilder > ( Microsoft . Extensions . DependencyInjection . IServiceProviderFactory < TContainerBuilder > factory ) ;
31
- Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder UseServiceProviderFactory < TContainerBuilder > ( System . Func < Microsoft . AspNetCore . Blazor . Hosting . WebAssemblyHostBuilderContext , Microsoft . Extensions . DependencyInjection . IServiceProviderFactory < TContainerBuilder > > factory ) ;
32
+ internal WebAssemblyHost ( ) { }
33
+ public Microsoft . Extensions . Configuration . IConfiguration Configuration { get { throw null ; } }
34
+ public System . IServiceProvider Services { get { throw null ; } }
35
+ [ System . Diagnostics . DebuggerStepThroughAttribute ]
36
+ public System . Threading . Tasks . ValueTask DisposeAsync ( ) { throw null ; }
37
+ public System . Threading . Tasks . Task RunAsync ( ) { throw null ; }
32
38
}
33
- public sealed partial class WebAssemblyHostBuilderContext
39
+ public sealed partial class WebAssemblyHostBuilder
34
40
{
35
- public WebAssemblyHostBuilderContext ( System . Collections . Generic . IDictionary < object , object > properties ) { }
36
- public System . Collections . Generic . IDictionary < object , object > Properties { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
37
- }
38
- public static partial class WebAssemblyHostBuilderExtensions
39
- {
40
- public static Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder ConfigureServices ( this Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder hostBuilder , System . Action < Microsoft . Extensions . DependencyInjection . IServiceCollection > configureDelegate ) { throw null ; }
41
- public static Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder UseBlazorStartup ( this Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder builder , System . Type startupType ) { throw null ; }
42
- public static Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder UseBlazorStartup < TStartup > ( this Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHostBuilder builder ) { throw null ; }
43
- }
44
- public static partial class WebAssemblyHostExtensions
45
- {
46
- public static void Run ( this Microsoft . AspNetCore . Blazor . Hosting . IWebAssemblyHost host ) { }
41
+ internal WebAssemblyHostBuilder ( ) { }
42
+ public Microsoft . Extensions . Configuration . IConfigurationBuilder Configuration { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
43
+ public Microsoft . AspNetCore . Blazor . Hosting . RootComponentMappingCollection RootComponents { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
44
+ public Microsoft . Extensions . DependencyInjection . IServiceCollection Services { [ System . Runtime . CompilerServices . CompilerGeneratedAttribute ] get { throw null ; } }
45
+ public Microsoft . AspNetCore . Blazor . Hosting . WebAssemblyHost Build ( ) { throw null ; }
46
+ public static Microsoft . AspNetCore . Blazor . Hosting . WebAssemblyHostBuilder CreateDefault ( string [ ] args = null ) { throw null ; }
47
47
}
48
48
}
49
49
namespace Microsoft . AspNetCore . Blazor . Http
@@ -67,15 +67,3 @@ public static partial class WebAssemblyEventDispatcher
67
67
public static System . Threading . Tasks . Task DispatchEvent ( Microsoft . AspNetCore . Components . RenderTree . WebEventDescriptor eventDescriptor , string eventArgsJson ) { throw null ; }
68
68
}
69
69
}
70
- namespace Microsoft . AspNetCore . Components . Builder
71
- {
72
- public static partial class ComponentsApplicationBuilderExtensions
73
- {
74
- public static void AddComponent < TComponent > ( this Microsoft . AspNetCore . Components . Builder . IComponentsApplicationBuilder app , string domElementSelector ) where TComponent : Microsoft . AspNetCore . Components . IComponent { }
75
- }
76
- public partial interface IComponentsApplicationBuilder
77
- {
78
- System . IServiceProvider Services { get ; }
79
- void AddComponent ( System . Type componentType , string domElementSelector ) ;
80
- }
81
- }
0 commit comments