C# Class Seterlund.CodeGuard.Internals.EnumExtensions

Extentions for enums. http://www.sambeauvois.be/blog/2011/08/enum-hasflag-method-extension-for-4-0-framework/
ファイルを表示 Open project: barsgroup/Guard

Public Methods

Method Description
HasFlag ( this 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 ( this variable, Enum value ) : bool
variable this The tested enum.
value System.Enum The value to test.
return bool