Class BlockSet<T>
Assembly: Libplanet.dll
Syntax
public class BlockSet<T> : BaseIndex<HashDigest<SHA256>, Block<T>>, IDictionary<HashDigest<SHA256>, Block<T>>, ICollection<KeyValuePair<HashDigest<SHA256>, Block<T>>>, IEnumerable<KeyValuePair<HashDigest<SHA256>, Block<T>>>, IEnumerable where T : IAction, new()
Type Parameters
Constructors
|
Improve this Doc
View Source
BlockSet(IStore)
Declaration
public BlockSet(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.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.Count
|
Improve this Doc
View Source
IsReadOnly
Declaration
public override bool IsReadOnly { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.IsReadOnly
|
Improve this Doc
View Source
Item[HashDigest<SHA256>]
Declaration
public override Block<T> this[HashDigest<SHA256> key] { get; set; }
Parameters
Property Value
Type |
Description |
Block<T> |
|
Overrides
Libplanet.Store.BaseIndex<Libplanet.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.Item[Libplanet.HashDigest<System.Security.Cryptography.SHA256>]
|
Improve this Doc
View Source
Keys
Declaration
public override ICollection<HashDigest<SHA256>> Keys { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.Keys
|
Improve this Doc
View Source
Values
Declaration
public override ICollection<Block<T>> Values { get; }
Property Value
Overrides
Libplanet.Store.BaseIndex<Libplanet.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.Values
Methods
|
Improve this Doc
View Source
Remove(HashDigest<SHA256>)
Declaration
public override bool Remove(HashDigest<SHA256> key)
Parameters
Returns
Overrides
Libplanet.Store.BaseIndex<Libplanet.HashDigest<System.Security.Cryptography.SHA256>, Libplanet.Blocks.Block<T>>.Remove(Libplanet.HashDigest<System.Security.Cryptography.SHA256>)
Implements