14 references to AddRootComponentAsync
Microsoft.AspNetCore.Components.WebView (1)
WebViewManager.cs (1)
118/// <param name="selector">The CSS selector describing where in the page the component was placed. This must exactly match the selector provided on an earlier call to <see cref="AddRootComponentAsync(Type, string, ParameterView)"/>.</param>
Microsoft.AspNetCore.Components.WebView.Maui (2)
RootComponent.cs (1)
50 return webViewManager.AddRootComponentAsync(ComponentType, Selector, parameterView);
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
58 manager.AddRootComponentAsync(typeof(StaticContentChangeNotifier), "body::after", ParameterView.Empty);
Microsoft.AspNetCore.Components.WebView.Photino (1)
BlazorWindowRootComponents.cs (1)
38await _manager.AddRootComponentAsync(typeof(TComponent), selector, parameterView);
Microsoft.AspNetCore.Components.WebView.Test (6)
WebViewManagerTests.cs (6)
17await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 44await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 59await webViewManager.AddRootComponentAsync(typeof(MyComponent), "#app", ParameterView.Empty); 90await webViewManager.AddRootComponentAsync(typeof(MyComponentUsingScopedAsyncDisposableService), "#app", ParameterView.Empty); 105await webViewManager.AddRootComponentAsync(typeof(MyComponent), arbitraryComponentSelector, ParameterView.Empty); 108var ex = await Assert.ThrowsAsync<InvalidOperationException>(async () => await webViewManager.AddRootComponentAsync(typeof(MyComponent), arbitraryComponentSelector, ParameterView.Empty));
Microsoft.AspNetCore.Components.WebView.WindowsForms (2)
RootComponent.cs (1)
53 return webViewManager.AddRootComponentAsync(ComponentType, Selector, parameterView);
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
58 manager.AddRootComponentAsync(typeof(StaticContentChangeNotifier), "body::after", ParameterView.Empty);
Microsoft.AspNetCore.Components.WebView.Wpf (2)
RootComponent.cs (1)
49 return webViewManager.AddRootComponentAsync(ComponentType, Selector, parameterView);
src\BlazorWebView\src\SharedSource\StaticContentHotReloadManager.cs (1)
58 manager.AddRootComponentAsync(typeof(StaticContentChangeNotifier), "body::after", ParameterView.Empty);