Table of Contents

Class DependencyInjection

Namespace
NLightning.Infrastructure.Persistence
Assembly
NLightning.Infrastructure.Persistence.dll

Extension methods for setting up Persistence infrastructure services in an IServiceCollection.

public static class DependencyInjection
Inheritance
DependencyInjection
Inherited Members

Methods

AddPersistenceInfrastructureServices(IServiceCollection, IConfiguration)

Adds Bitcoin infrastructure services to the specified IServiceCollection.

public static IServiceCollection AddPersistenceInfrastructureServices(this IServiceCollection services, IConfiguration configuration)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

configuration IConfiguration

The IConfiguration instance to read configuration settings from.

Returns

IServiceCollection

The same service collection so that multiple calls can be chained.