C# Class ByChance.Configuration.Parameters.DiscardOpenContextsRestriction

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

Public Methods

Method Description
ShouldDiscardContext ( Context context ) : bool

Used by DiscardOpenContextsPolicy to check whether to discard the passed open context, or not. Returns true.

Method Details

ShouldDiscardContext() public method

Used by DiscardOpenContextsPolicy to check whether to discard the passed open context, or not. Returns true.
public ShouldDiscardContext ( Context context ) : bool
context ByChance.Core.Context Context to be discarded.
return bool