共用方式為


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 執行個體。

屬性

適用於