C# Class Sirius.Win32.Lib.Common.EnumExtensions

Exibir arquivo Open project: mkolisnyk/Sirius

Public Methods

Method Description
HasFlag ( Enum variable, Enum value ) : bool

A FX 3.5 way to mimic the FX4 "HasFlag" method.

Method Details

HasFlag() public static method

A FX 3.5 way to mimic the FX4 "HasFlag" method.
public static HasFlag ( Enum variable, Enum value ) : bool
variable System.Enum The tested enum.
value System.Enum The value to test.
return bool