public bool HasEnumFlag <T>(T enumFlag) where T : struct, IComparable, IConvertible, IFormattable { DebugUtils.AssertIsEnumType <T>(); return(HasFlag((int)(object)enumFlag)); }
public void InvertEnumFlag <T>(T enumFlag) where T : struct, IComparable, IConvertible, IFormattable { DebugUtils.AssertIsEnumType <T>(); InvertFlag((int)(object)enumFlag); }
public bool GetEnumFlagIfItExists <T>(T enumFlag) where T : struct, IComparable, IConvertible, IFormattable { DebugUtils.AssertIsEnumType <T>(); return(GetFlagIfItExists((int)(object)enumFlag)); }
public void SetEnumFlag <T>(T enumFlag, bool value, bool expandIfNecessary = false) where T : struct, IComparable, IConvertible, IFormattable { DebugUtils.AssertIsEnumType <T>(); SetFlag((int)(object)enumFlag, value, expandIfNecessary); }