Class Transaction
Concrete ITransaction for the financial contract model. Three cases are supported:
- Transaction.CreateContract: create a new contract with the given parameters.
- Transaction.CancelContract: terminate the named contract.
- Transaction.AtomicTransactions: an atomic group of transactions; not tied to a single contract.
public abstract record Transaction : ITransaction, IEquatable<ITransaction>, IEquatable<Transaction>
- Inheritance
-
Transaction
- Implements
- Derived
- Inherited Members
Properties
RelatedContract
The contract this transaction targets, or null for transactions
that do not target a single contract (e.g. atomic groups).
public abstract IContractIdentifier? RelatedContract { get; }
Property Value
Methods
Equals(ITransaction?)
public virtual bool Equals(ITransaction? other)
Parameters
otherITransaction