Class TransactionSet<T>
Inheritance
TransactionSet<T>
Assembly: Libplanet.dll
Syntax
public class TransactionSet<T> : BaseIndex<TxId, Transaction<T>> 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
Type |
Description |
ICollection<TxId> |
|
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
Contains(KeyValuePair<TxId, Transaction<T>>)
Declaration
public override bool Contains(KeyValuePair<TxId, Transaction<T>> item)
Parameters
Returns
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.Contains(KeyValuePair<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>)
|
Improve this Doc
View Source
ContainsKey(TxId)
Declaration
public override bool ContainsKey(TxId key)
Parameters
Type |
Name |
Description |
TxId |
key |
|
Returns
Overrides
Libplanet.Store.BaseIndex<Libplanet.Tx.TxId, Libplanet.Tx.Transaction<T>>.ContainsKey(Libplanet.Tx.TxId)
|
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)