共用方式為


NodeServicesServiceCollectionExtensions 類別

定義

警告

Use Microsoft.AspNetCore.SpaServices.Extensions

在 中 IServiceCollection 設定 NodeServices 的擴充方法。

public static class NodeServicesServiceCollectionExtensions
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static class NodeServicesServiceCollectionExtensions
type NodeServicesServiceCollectionExtensions = class
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
type NodeServicesServiceCollectionExtensions = class
Public Module NodeServicesServiceCollectionExtensions
繼承
NodeServicesServiceCollectionExtensions
屬性

方法

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)
已淘汰.

將 NodeServices 支援新增至 serviceCollection

AddNodeServices(IServiceCollection)
已淘汰.

將 NodeServices 支援新增至 serviceCollection

適用於