Метод | Описание | |
---|---|---|
EnumDescription ( this enumValue ) : string | ||
HasFlag ( this variable, |
From: http://stackoverflow.com/questions/4108828/generic-extension-method-to-see-if-an-enum-contains-a-flag Check to see if a flags enumeration has a specific flag set.
|
|
Heading ( this paragraph, HeadingType headingType ) : |
public static EnumDescription ( this enumValue ) : string | ||
enumValue | this | |
Результат | string |
public static HasFlag ( this variable, |
||
variable | this | Flags enumeration to check |
value | Flag to check for | |
Результат | bool |
public static Heading ( this paragraph, HeadingType headingType ) : |
||
paragraph | this | |
headingType | HeadingType | |
Результат |