Exemple #1
0
 private void CheckExtensions(IEnumerable <Extension> extensions)
 {
     _missingExtensions.AddIf(extensions, ex => ex.level > _characterExtensions.GetLevel(ex.id));
 }
Exemple #2
0
 public static void AddIfNotIn <T>(this HashSet <T> Lst, T Element, IEnumerable <T> ExclusionList)
 {
     Lst.AddIf(Element, E => !ExclusionList.Contains(E));
 }