C# 클래스 Novacode.ExtensionsHeadings

파일 보기 프로젝트 열기: WordDocX/DocX

공개 메소드들

메소드 설명
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

메소드 상세

EnumDescription() 공개 정적인 메소드

public static EnumDescription ( this enumValue ) : string
enumValue this
리턴 string

HasFlag() 공개 정적인 메소드

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

Heading() 공개 정적인 메소드

public static Heading ( this paragraph, HeadingType headingType ) : Paragraph
paragraph this
headingType HeadingType
리턴 Paragraph