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.
파일 보기 프로젝트 열기: jagregory/boolangstudio 1 사용 예제들

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