Partager via


NodeServicesServiceCollectionExtensions.AddNodeServices Méthode

Définition

Surcharges

AddNodeServices(IServiceCollection)
Obsolète.

Ajoute la prise en charge de NodeServices à .serviceCollection

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)
Obsolète.

Ajoute la prise en charge de NodeServices à .serviceCollection

AddNodeServices(IServiceCollection)

Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs

Attention

Use Microsoft.AspNetCore.SpaServices.Extensions

Ajoute la prise en charge de NodeServices à .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)

Paramètres

serviceCollection
IServiceCollection

L’IServiceCollectionopérateur

Attributs

S’applique à

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)

Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs
Source:
NodeServicesServiceCollectionExtensions.cs

Attention

Use Microsoft.AspNetCore.SpaServices.Extensions

Ajoute la prise en charge de NodeServices à .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))

Paramètres

serviceCollection
IServiceCollection

L’IServiceCollectionopérateur

setupAction
Action<NodeServicesOptions>

Rappel qui sera appelé pour remplir le NodeServicesOptions.

Attributs

S’applique à