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
IServiceCollectionThe IServiceCollection to add services to.
Returns
- IServiceCollection
The same service collection so that multiple calls can be chained.