Table of Contents

Interface IVirtufinTypes

Namespace
Virtufin.Core.VirtufinTypes
Assembly
Virtufin.Core.dll

Resolves the runtime Type of each canonical identifier and payload in the financial contract model. Allows code in Virtufin.Core to refer to "the type of Signatory used here" without taking a hard dependency on the concrete implementations in Virtufin.Base.

public interface IVirtufinTypes

Remarks

Default concrete implementation lives in Virtufin.Base as DefaultVirtufinTypes. Wire that into DI as a singleton.

Properties

AssetIdentifierType

Type of AssetIdentifier (must implement IAssetIdentifier).

Type AssetIdentifierType { get; }

Property Value

Type

ContractIdentifierType

Type of ContractIdentifier (must implement IContractIdentifier).

Type ContractIdentifierType { get; }

Property Value

Type

ContractParametersType

Type of ContractParameters (must implement IContractParameters).

Type ContractParametersType { get; }

Property Value

Type

MessageType

Type of Message (must implement IMessage).

Type MessageType { get; }

Property Value

Type

ScenarioHistoryType

Type of ScenarioHistory (must implement IScenarioHistory).

Type ScenarioHistoryType { get; }

Property Value

Type

ScenarioType

Type of Scenario (must implement IScenario).

Type ScenarioType { get; }

Property Value

Type

SignatoryType

Type of Signatory (must implement ISignatory).

Type SignatoryType { get; }

Property Value

Type

StateType

Type of State (must implement IState).

Type StateType { get; }

Property Value

Type

TimeStampType

Type of TimeStamp (must implement ITimeStamp).

Type TimeStampType { get; }

Property Value

Type

TransactionType

Type of Transaction (must implement ITransaction).

Type TransactionType { get; }

Property Value

Type