Here are the examples of the csharp api System.Collections.Generic.HashSet.Contains(TrxOutcome) taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.
3 Examples
19
Source : TrxOutcomeExtensions.cs
with MIT License
from gfoidl
with MIT License
from gfoidl
public static bool IsSuccess(this TrxOutcome? value) => value.HasValue && s_successStates.Contains(value.Value);
19
Source : TrxOutcomeExtensions.cs
with MIT License
from gfoidl
with MIT License
from gfoidl
public static bool IsSkipped(this TrxOutcome? value) => !value.HasValue || s_skippedStates.Contains(value.Value);
19
Source : TrxOutcomeExtensions.cs
with MIT License
from gfoidl
with MIT License
from gfoidl
public static bool IsFailure(this TrxOutcome? value) => value.HasValue && s_failureStates.Contains(value.Value);