NodeServicesServiceCollectionExtensions.AddNodeServices NodeServicesServiceCollectionExtensions.AddNodeServices NodeServicesServiceCollectionExtensions.AddNodeServices Method

Definition

Overloads

AddNodeServices(IServiceCollection) AddNodeServices(IServiceCollection) AddNodeServices(IServiceCollection)

Adds NodeServices support to the serviceCollection.

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>) AddNodeServices(IServiceCollection, Action<NodeServicesOptions>) AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)

Adds NodeServices support to the serviceCollection.

AddNodeServices(IServiceCollection) AddNodeServices(IServiceCollection) AddNodeServices(IServiceCollection)

Adds NodeServices support to the serviceCollection.

public static void AddNodeServices (this Microsoft.Extensions.DependencyInjection.IServiceCollection serviceCollection);
static member AddNodeServices : Microsoft.Extensions.DependencyInjection.IServiceCollection -> unit
<Extension()>
Public Sub AddNodeServices (serviceCollection As IServiceCollection)

Parameters

AddNodeServices(IServiceCollection, Action<NodeServicesOptions>) AddNodeServices(IServiceCollection, Action<NodeServicesOptions>) AddNodeServices(IServiceCollection, Action<NodeServicesOptions>)

Adds NodeServices support to the serviceCollection.

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
<Extension()>
Public Sub AddNodeServices (serviceCollection As IServiceCollection, setupAction As Action(Of NodeServicesOptions))

Parameters

setupAction
Action<NodeServicesOptions>

A callback that will be invoked to populate the NodeServicesOptions.

Applies to