Beispiel #1
0
 internal bool FlagsMatch(Enum[] presentFlags)
 {
     if (ActivationFlags == null)
         return true;
     return ActivationFlags.All(given => presentFlags.Where(k => k.GetType() == given.GetType())
                                                .All(k => k.Equals(given)));
 }