C# Class ByChance.Configuration.Parameters.DiscardOpenChunksRestriction

Specifies which chunks with open contexts should be discarded.
Inheritance: IDiscardOpenChunksRestriction
Show file Open project: npruehs/bychance

Public Methods

Method Description
ShouldBeDiscarded ( Chunk chunk ) : bool

Used by DiscardOpenChunksPolicy to check whether to discard the passed chunk with open contexts, or not. Returns true.

Method Details

ShouldBeDiscarded() public method

Used by DiscardOpenChunksPolicy to check whether to discard the passed chunk with open contexts, or not. Returns true.
public ShouldBeDiscarded ( Chunk chunk ) : bool
chunk ByChance.Core.Chunk Chunk to be discarded.
return bool