Table of Contents

Interface IContractBuilder

Namespace
Virtufin.Core.Contracts
Assembly
Virtufin.Core.dll

Builds a concrete IContract instance from IContractParameters. The builder is consumed once; use an IContractFactory for repeated construction.

public interface IContractBuilder

Methods

Create(IContractParameters)

Create a contract from the given parameters.

IContract Create(IContractParameters parameters)

Parameters

parameters IContractParameters

Configuration for the new contract.

Returns

IContract

Exceptions

ArgumentException

Thrown when parameters is invalid for this builder.