Share via


NodeServicesFactory.CreateNodeServices(NodeServicesOptions) Method

Definition

Caution

Use Microsoft.AspNetCore.SpaServices.Extensions

Create an INodeServices instance according to the supplied options.

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

Parameters

options
NodeServicesOptions

Options for creating the INodeServices instance.

Returns

An INodeServices instance.

Attributes

Applies to