C# Класс Boo.BooLangProject.BooProjectSources

Represents a Boo project, in terms of source files and parsing. Acts as a facade over the boo compiler, to allow easier compilation of all the Boo files in a project.
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
Compile void
GetSource string
HasFile bool
ReloadSources void
ResetCompiledProject void
hierarchyListener_Completed void
hierarchyListener_ItemAdded void

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

Метод Описание
BooProjectSources ( BooLangService languageService ) : System
Find ( string file ) : BooProjectSources

Finds a project in the loaded projects collection that contains the specified file.

GetCompiledProject ( ) : CompiledProject

Gets the compiled output for the current project, compiling it if needed.

StartWatchingHierarchy ( IVsHierarchy hierarchy ) : void
Update ( Microsoft.VisualStudio.Package.ParseRequest request ) : void

Updates the compiled project when a parse request is raised.

Приватные методы

Метод Описание
Compile ( ) : void

Iterates the files and compiles them en-masse.

GetSource ( string fileName ) : string

Gets the contents of a file.

HasFile ( string fileName ) : bool

Checks whether a project contains the specified file.

ReloadSources ( ) : void
ResetCompiledProject ( ) : void

Resets the compiled project, so it'll be recompiled on the next call.

hierarchyListener_Completed ( object sender, EventArgs e ) : void
hierarchyListener_ItemAdded ( object sender, HierarchyEventArgs e ) : void

Описание методов

BooProjectSources() публичный Метод

public BooProjectSources ( BooLangService languageService ) : System
languageService BooLangService
Результат System

Find() публичный статический Метод

Finds a project in the loaded projects collection that contains the specified file.
public static Find ( string file ) : BooProjectSources
file string Path of a file to find in a project.
Результат BooProjectSources

GetCompiledProject() публичный Метод

Gets the compiled output for the current project, compiling it if needed.
public GetCompiledProject ( ) : CompiledProject
Результат CompiledProject

StartWatchingHierarchy() публичный Метод

public StartWatchingHierarchy ( IVsHierarchy hierarchy ) : void
hierarchy IVsHierarchy
Результат void

Update() публичный Метод

Updates the compiled project when a parse request is raised.
public Update ( Microsoft.VisualStudio.Package.ParseRequest request ) : void
request Microsoft.VisualStudio.Package.ParseRequest Parse request that raised the update.
Результат void