示例#1
0
 public bool HasNonIndividualTokenFor(IEnumerable <string> tokens)
 {
     return(CombinedTokens
            .Where(t => !t.StartsWith("FG_"))
            .Where(t => !t.StartsWith("EB_"))
            .Intersect(tokens).Any());
 }
示例#2
0
 public bool HasAnyTokenFor(IEnumerable <string> tokens)
 {
     return(tokens != null && CombinedTokens.Intersect(tokens).Any());
 }