NodeServicesFactory.CreateNodeServices(NodeServicesOptions) 方法

定义

注意

Use Microsoft.AspNetCore.SpaServices.Extensions

INodeServices根据提供的选项创建 实例。

public:
 static Microsoft::AspNetCore::NodeServices::INodeServices ^ CreateNodeServices(Microsoft::AspNetCore::NodeServices::NodeServicesOptions ^ options);
public static Microsoft.AspNetCore.NodeServices.INodeServices CreateNodeServices (Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static Microsoft.AspNetCore.NodeServices.INodeServices CreateNodeServices (Microsoft.AspNetCore.NodeServices.NodeServicesOptions options);
static member CreateNodeServices : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> Microsoft.AspNetCore.NodeServices.INodeServices
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member CreateNodeServices : Microsoft.AspNetCore.NodeServices.NodeServicesOptions -> Microsoft.AspNetCore.NodeServices.INodeServices
Public Shared Function CreateNodeServices (options As NodeServicesOptions) As INodeServices

参数

options
NodeServicesOptions

用于创建实例的选项 INodeServices

返回

一个 INodeServices 实例。

属性

适用于