Table of Contents

Interface IOutputAdapter<TDomainOutput, TInfraOutput>

Namespace
NLightning.Infrastructure.Bitcoin.Adapters.OutputAdapters
Assembly
NLightning.Infrastructure.Bitcoin.dll

Base interface for adapters that convert domain output info models to infrastructure outputs.

public interface IOutputAdapter<TDomainOutput, TInfraOutput> where TDomainOutput : IOutputInfo

Type Parameters

TDomainOutput

The type of domain output info model.

TInfraOutput

The type of infrastructure output.

Methods

CreateOutput(TDomainOutput)

Creates an infrastructure output from a domain output info model.

TInfraOutput CreateOutput(TDomainOutput outputInfo)

Parameters

outputInfo TDomainOutput

The domain output info model.

Returns

TInfraOutput

The infrastructure output.