Class TransactionSet<T>
Inheritance
TransactionSet<T>
Assembly: Libplanet.dll
Syntax
public class TransactionSet<T> : BaseIndex<TxId, Transaction<T>>, IDictionary<TxId, Transaction<T>>, ICollection<KeyValuePair<TxId, Transaction<T>>>, IEnumerable<KeyValuePair<TxId, Transaction<T>>>, IEnumerable where T : IAction, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
TransactionSet(IStore)
Declaration
public TransactionSet(IStore store)
Parameters
Type |
Name |
Description |
IStore |
store |
|
Properties
|
Improve this Doc
View Source
Count
Declaration
public override int Count { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Count
|
Improve this Doc
View Source
IsReadOnly
Declaration
public override bool IsReadOnly { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.IsReadOnly
|
Improve this Doc
View Source
Item[TxId]
Declaration
public override Transaction<T> this[TxId key] { get; set; }
Parameters
Type |
Name |
Description |
TxId |
key |
|
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Item[Libplanet.Tx.TxId]
|
Improve this Doc
View Source
Keys
Declaration
public override ICollection<TxId> Keys { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Keys
|
Improve this Doc
View Source
Values
Declaration
public override ICollection<Transaction<T>> Values { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Values
Methods
|
Improve this Doc
View Source
Remove(TxId)
Declaration
public override bool Remove(TxId key)
Parameters
Type |
Name |
Description |
TxId |
key |
|
Returns
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Remove(Libplanet.Tx.TxId)
Implements