Table of Contents

Class DependencyInjection

Namespace
NLightning.Infrastructure.Repositories
Assembly
NLightning.Infrastructure.Repositories.dll

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

public static class DependencyInjection
Inheritance
DependencyInjection
Inherited Members

Methods

AddRepositoriesInfrastructureServices(IServiceCollection)

Adds Bitcoin infrastructure services to the specified IServiceCollection.

public static IServiceCollection AddRepositoriesInfrastructureServices(this IServiceCollection services)

Parameters

services IServiceCollection

The IServiceCollection to add services to.

Returns

IServiceCollection

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