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
ContractIdentifierType
Type of ContractIdentifier (must implement IContractIdentifier).
Type ContractIdentifierType { get; }
Property Value
ContractParametersType
Type of ContractParameters (must implement IContractParameters).
Type ContractParametersType { get; }
Property Value
MessageType
Type of Message (must implement IMessage).
Type MessageType { get; }
Property Value
ScenarioHistoryType
Type of ScenarioHistory (must implement IScenarioHistory).
Type ScenarioHistoryType { get; }
Property Value
ScenarioType
Type of Scenario (must implement IScenario).
Type ScenarioType { get; }
Property Value
SignatoryType
Type of Signatory (must implement ISignatory).
Type SignatoryType { get; }
Property Value
StateType
Type of State (must implement IState).
Type StateType { get; }
Property Value
TimeStampType
Type of TimeStamp (must implement ITimeStamp).
Type TimeStampType { get; }
Property Value
TransactionType
Type of Transaction (must implement ITransaction).
Type TransactionType { get; }