Table of Contents

Class BlockchainExtensions

Namespace
NuvTools.Blockchain.Azure
Assembly
NuvTools.Blockchain.Azure.dll

Extension methods for registering blockchain services.

public static class BlockchainExtensions
Inheritance
BlockchainExtensions
Inherited Members

Fields

DefaultSectionName

Default configuration section name.

public const string DefaultSectionName = "NuvTools.Blockchain"

Field Value

string

Methods

AddBlockchain(IServiceCollection, IConfiguration, string)

Adds Azure Confidential Ledger blockchain services to the service collection.

public static IServiceCollection AddBlockchain(this IServiceCollection services, IConfiguration configuration, string sectionName = "NuvTools.Blockchain")

Parameters

services IServiceCollection

The service collection.

configuration IConfiguration

The configuration.

sectionName string

The configuration section name. Defaults to "NuvTools.Blockchain".

Returns

IServiceCollection

The service collection for chaining.