ComponentsWebViewServiceCollectionExtensions.AddBlazorWebView 方法

定义

将组件 Webview 服务添加到集合。services

public static Microsoft.Extensions.DependencyInjection.IServiceCollection AddBlazorWebView (this Microsoft.Extensions.DependencyInjection.IServiceCollection services);
static member AddBlazorWebView : Microsoft.Extensions.DependencyInjection.IServiceCollection -> Microsoft.Extensions.DependencyInjection.IServiceCollection
<Extension()>
Public Function AddBlazorWebView (services As IServiceCollection) As IServiceCollection

参数

services
IServiceCollection

IServiceCollection 向其添加组件 Webview 服务的 。

返回

适用于