14 references to AddRootComponentAsync
Microsoft.AspNetCore.Components.WebView (1)
Microsoft.AspNetCore.Components.WebView.Maui (2)
Microsoft.AspNetCore.Components.WebView.Photino (1)
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)
Microsoft.AspNetCore.Components.WebView.Wpf (2)