C# 클래스 Rubberduck.VBEditor.Extensions.CodeModuleExtensions

VBE CodeModule extension methods.
파일 보기 프로젝트 열기: retailcoder/Rubberduck

공개 메소드들

메소드 설명
Clear ( this module ) : void

Deletes all lines from the CodeModule

GetSanitizedCode ( this module ) : string[]

Gets an array of strings where each element is a line of code in the Module, with line numbers stripped and any other pre-processing that needs to be done.

Lines ( this module ) : string

Returns all of the code in a Module as a string.

비공개 메소드들

메소드 설명
HasNumberedLine ( string codeLine, int &lineNumber ) : bool
StripLineNumbers ( string lines ) : void

메소드 상세

Clear() 공개 정적인 메소드

Deletes all lines from the CodeModule
public static Clear ( this module ) : void
module this
리턴 void

GetSanitizedCode() 공개 정적인 메소드

Gets an array of strings where each element is a line of code in the Module, with line numbers stripped and any other pre-processing that needs to be done.
public static GetSanitizedCode ( this module ) : string[]
module this
리턴 string[]

Lines() 공개 정적인 메소드

Returns all of the code in a Module as a string.
public static Lines ( this module ) : string
module this
리턴 string