Sdílet prostřednictvím


NodeServicesServiceCollectionExtensions.AddNodeServices Metoda

Definice

Přetížení

AddNodeServices(IServiceCollection)
Zastaralé.

Přidá podporu NodeServices do .serviceCollection

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)
Zastaralé.

Přidá podporu NodeServices do .serviceCollection

AddNodeServices(IServiceCollection)

Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs

Upozornění

Use Microsoft.AspNetCore.SpaServices.Extensions

Přidá podporu NodeServices do .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)

Parametry

serviceCollection
IServiceCollection

Hodnota IServiceCollection

Atributy

Platí pro

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)

Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs
Zdroj:
NodeServicesServiceCollectionExtensions.cs

Upozornění

Use Microsoft.AspNetCore.SpaServices.Extensions

Přidá podporu NodeServices do .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))

Parametry

serviceCollection
IServiceCollection

Hodnota IServiceCollection

setupAction
Action<NodeServicesOptions>

Zpětné volání, které bude vyvoláno k naplnění .NodeServicesOptions

Atributy

Platí pro