C# Class Novacode.ExtensionsHeadings

Afficher le fichier Open project: WordDocX/DocX

Méthodes publiques

Méthode Description
EnumDescription ( this enumValue ) : string
HasFlag ( this variable, Enum value ) : bool

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 ) : Paragraph

Method Details

EnumDescription() public static méthode

public static EnumDescription ( this enumValue ) : string
enumValue this
Résultat string

HasFlag() public static méthode

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.
public static HasFlag ( this variable, Enum value ) : bool
variable this Flags enumeration to check
value System.Enum Flag to check for
Résultat bool

Heading() public static méthode

public static Heading ( this paragraph, HeadingType headingType ) : Paragraph
paragraph this
headingType HeadingType
Résultat Paragraph