C# 클래스 NArrange.Core.CodeElements.ElementUtilities

Element utility methods.
파일 보기 프로젝트 열기: MarcStan/NArrange 1 사용 예제들

공개 메소드들

메소드 설명
Format ( string format, ICodeElement codeElement ) : string

Gets a string representation of a code element using the specified format.

GetAttribute ( ElementAttributeType attributeType, ICodeElement codeElement ) : string

Gets the string representation of a code element attribute.

ProcessElementTree ( ICodeElement codeElement, Action action ) : void

Processes each element in a code element tree.

비공개 메소드들

메소드 설명
GetAttributesAttribute ( ICodeElement codeElement ) : string

Gets the Attributes attribute.

GetTypeAttribute ( ICodeElement codeElement ) : string

Gets the type attribute.

메소드 상세

Format() 공개 정적인 메소드

Gets a string representation of a code element using the specified format.
public static Format ( string format, ICodeElement codeElement ) : string
format string The format.
codeElement ICodeElement The code element.
리턴 string

GetAttribute() 공개 정적인 메소드

Gets the string representation of a code element attribute.
public static GetAttribute ( ElementAttributeType attributeType, ICodeElement codeElement ) : string
attributeType ElementAttributeType Type of the attribute.
codeElement ICodeElement The code element.
리턴 string

ProcessElementTree() 공개 정적인 메소드

Processes each element in a code element tree.
public static ProcessElementTree ( ICodeElement codeElement, Action action ) : void
codeElement ICodeElement Code element to process.
action Action Action that performs processing.
리턴 void