Example #1
0
 public bool AreConditionsMet(AnalyzerResult analyzerResult)
 {
     return(JoinOperator switch
     {
         JoinOperator.All => EvaluateWithAll(analyzerResult),
         JoinOperator.Any => EvaluateWithAny(analyzerResult),
         JoinOperator.None => EvaluateWithNone(analyzerResult),
         _ => throw new ArgumentException($"Unsupported {JoinOperator.GetType()} type: {JoinOperator}"),
     });