C# 클래스 Seterlund.CodeGuard.Internals.EnumExtensions

Extentions for enums. http://www.sambeauvois.be/blog/2011/08/enum-hasflag-method-extension-for-4-0-framework/
파일 보기 프로젝트 열기: barsgroup/Guard

공개 메소드들

메소드 설명
HasFlag ( this variable, Enum value ) : bool

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

메소드 상세

HasFlag() 공개 정적인 메소드

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.
리턴 bool