Class DependencyInjection
- Namespace
- NLightning.Infrastructure.Bitcoin
- Assembly
- NLightning.Infrastructure.Bitcoin.dll
Extension methods for setting up Bitcoin infrastructure services in an IServiceCollection.
public static class DependencyInjection
- Inheritance
-
DependencyInjection
- Inherited Members
Methods
AddBitcoinInfrastructure(IServiceCollection)
Adds Bitcoin infrastructure services to the specified IServiceCollection.
public static IServiceCollection AddBitcoinInfrastructure(this IServiceCollection services)
Parameters
services
IServiceCollectionThe IServiceCollection to add services to.
Returns
- IServiceCollection
The same service collection so that multiple calls can be chained.