C# Class 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.
Afficher le fichier Open project: jagregory/boolangstudio Class Usage Examples

Private Properties

Свойство Type Description
Compile void
GetSource string
HasFile bool
ReloadSources void
ResetCompiledProject void
hierarchyListener_Completed void
hierarchyListener_ItemAdded void

Méthodes publiques

Méthode Description
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.

Private Methods

Méthode Description
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

Method Details

BooProjectSources() public méthode

public BooProjectSources ( BooLangService languageService ) : System
languageService BooLangService
Résultat System

Find() public static méthode

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.
Résultat BooProjectSources

GetCompiledProject() public méthode

Gets the compiled output for the current project, compiling it if needed.
public GetCompiledProject ( ) : CompiledProject
Résultat CompiledProject

StartWatchingHierarchy() public méthode

public StartWatchingHierarchy ( IVsHierarchy hierarchy ) : void
hierarchy IVsHierarchy
Résultat void

Update() public méthode

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.
Résultat void