DirectoryBrowserServiceExtensions.AddDirectoryBrowser 方法

定义

添加目录浏览器中间件服务。

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

参数

services
IServiceCollection

要向其中添加服务的 IServiceCollection

返回

IServiceCollection,以便可以链接其他调用。

适用于