C# Класс Rubberduck.VBEditor.Extensions.CodeModuleExtensions

VBE CodeModule extension methods.
Показать файл Открыть проект

Открытые методы

Метод Описание
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