NodeServicesServiceCollectionExtensions.AddNodeServices Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
AddNodeServices(IServiceCollection) |
Obsoleto.
Adiciona suporte a NodeServices ao |
AddNodeServices(IServiceCollection, Action<NodeServicesOptions>) |
Obsoleto.
Adiciona suporte a NodeServices ao |
AddNodeServices(IServiceCollection)
Cuidado
Use Microsoft.AspNetCore.SpaServices.Extensions
Adiciona suporte a NodeServices ao serviceCollection
.
public static void AddNodeServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static void AddNodeServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
static member AddNodeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member AddNodeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
<Extension()>
Public Sub AddNodeServices (serviceCollection As IServiceCollection)
Parâmetros
- serviceCollection
- IServiceCollection
- Atributos
Aplica-se a
AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)
Cuidado
Use Microsoft.AspNetCore.SpaServices.Extensions
Adiciona suporte a NodeServices ao serviceCollection
.
public static void AddNodeServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Action<Microsoft.AspNetCore.NodeServices.NodeServicesOptions> setupAction);
[System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")]
public static void AddNodeServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection, Action<Microsoft.AspNetCore.NodeServices.NodeServicesOptions> setupAction);
static member AddNodeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.NodeServices.NodeServicesOptions> -> unit
[<System.Obsolete("Use Microsoft.AspNetCore.SpaServices.Extensions")>]
static member AddNodeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection * Action<Microsoft.AspNetCore.NodeServices.NodeServicesOptions> -> unit
<Extension()>
Public Sub AddNodeServices (serviceCollection As IServiceCollection, setupAction As Action(Of NodeServicesOptions))
Parâmetros
- serviceCollection
- IServiceCollection
- setupAction
- Action<NodeServicesOptions>
Um retorno de chamada que será invocado para preencher o NodeServicesOptions.
- Atributos