Show / Hide Table of Contents

Class BlockDemandTable<T>

Inheritance
Object
BlockDemandTable<T>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Libplanet.Net
Assembly: Libplanet.dll
Syntax
public class BlockDemandTable<T>
    where T : IAction, new()
Type Parameters
Name Description
T

Constructors

| Improve this Doc View Source

BlockDemandTable(TimeSpan)

Declaration
public BlockDemandTable(TimeSpan blockDemandLifespan)
Parameters
Type Name Description
TimeSpan blockDemandLifespan

Properties

| Improve this Doc View Source

Demands

Declaration
public IDictionary<BoundPeer, BlockDemand> Demands { get; }
Property Value
Type Description
IDictionary<BoundPeer, BlockDemand>

Methods

| Improve this Doc View Source

Add(BlockChain<T>, Func<IBlockExcerpt, Boolean>, BlockDemand)

Declaration
public void Add(BlockChain<T> blockChain, Func<IBlockExcerpt, bool> predicate, BlockDemand demand)
Parameters
Type Name Description
BlockChain<T> blockChain
Func<IBlockExcerpt, Boolean> predicate
BlockDemand demand
| Improve this Doc View Source

Any()

Declaration
public bool Any()
Returns
Type Description
Boolean
| Improve this Doc View Source

Cleanup(BlockChain<T>, Func<IBlockExcerpt, Boolean>)

Declaration
public void Cleanup(BlockChain<T> blockChain, Func<IBlockExcerpt, bool> predicate)
Parameters
Type Name Description
BlockChain<T> blockChain
Func<IBlockExcerpt, Boolean> predicate
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © 2018–2021 Planetarium