Table of Contents

Method AddServicesBundle

Namespace
Ploch.CommandLine.Spectre
Assembly
Ploch.CommandLine.Spectre.dll

AddServicesBundle<TServicesBundle>()

Registers a services bundle to be configured when the application is built.

public AppBuilder AddServicesBundle<TServicesBundle>() where TServicesBundle : IServicesBundle, new()

Returns

AppBuilder

The same AppBuilder instance, to allow chaining.

Type Parameters

TServicesBundle

The bundle type to register. Must expose a parameterless constructor.