public static PreferedGenres RemovePreference(this PreferedGenres current, PreferedGenres toRemove) { return current & ~(toRemove); }
public static IEnumerable<PreferedGenres> GetSelectablePrefences(this PreferedGenres genres) { foreach (PreferedGenres g in Enum.GetValues(typeof(PreferedGenres))) if (!genres.HasFlag(g)) yield return g; }
public static PreferedGenres AddPreference(this PreferedGenres current, PreferedGenres toAdd) { return current | toAdd; }