8 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.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));