Class ThrowingAchievementCondition
A condition that fails the way project code in a custom rule can: by throwing. Used to prove
that one broken achievement does not stop the others being evaluated.
Inheritance
ThrowingAchievementCondition
Assembly: Tests.dll
Syntax
public class ThrowingAchievementCondition : AchievementCondition
Constructors
ThrowingAchievementCondition()
Declaration
public ThrowingAchievementCondition()
Properties
DisplayName
Declaration
public override string DisplayName { get; }
Property Value
IsMetCallCount
Declaration
public int IsMetCallCount { get; }
Property Value
ListenedSignalTypeNames
The signal type names this condition claims to listen for.
Declaration
public List<string> ListenedSignalTypeNames { get; }
Property Value
NeedsTick
Declaration
public override bool NeedsTick { get; }
Property Value
ThrowsWhenCollectingSignalTypeNames
Whether CollectSignalTypeNames(ICollection<string>) throws instead of answering — the failure that
happens while the index is being built, at the composition root, rather than during an
evaluation the evaluator already contains.
Declaration
public bool ThrowsWhenCollectingSignalTypeNames { get; set; }
Property Value
TicksWithTime
Declaration
public bool TicksWithTime { get; set; }
Property Value
Methods
CollectSignalTypeNames(ICollection<string>)
Declaration
public override void CollectSignalTypeNames(ICollection<string> sink)
Parameters
IsMet(in AchievementEvaluationContext)
Declaration
public override bool IsMet(in AchievementEvaluationContext context)
Parameters
Returns