Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
C#
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
ByChance
Configuration
Parameters
DiscardOpenContextsRestriction
ShouldDiscardContext
ByChance.Configuration.Parameters.DiscardOpenContextsRestriction.ShouldDiscardContext C# (CSharp) Method
DiscardOpenContextsRestriction Class Documentation
Show file
Open project: npruehs/bychance
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
public bool ShouldDiscardContext(Context context) { return true; }
DiscardOpenContextsRestriction
ShouldDiscardContext