C# Class Microsoft.IronStudio.Project.DirectoryBasedProjectNode

Inheritance: CommonProjectNode
ファイルを表示 Open project: jschementi/iron

Public Methods

Method Description
CreateFolderNode ( string absFolderPath ) : FolderNode

Create a folder node based on absolute folder path.

DirectoryBasedProjectNode ( Microsoft.IronStudio.Project.CommonProjectPackage package, ImageList imageList ) : System

Protected Methods

Method Description
AddDirectory ( HierarchyNode parent, bool isSearchPath, string subfolder ) : void

Adds a directory to the project hierarchy with the specified parent.

AddFile ( HierarchyNode parent, bool isSearchPath, string file ) : void

Adds a file to the project hierarchy with the specified parent.

ProcessFiles ( ) : void
ProcessFolders ( ) : void
Reload ( ) : void
ShouldIncludeFileInProject ( string projFileExt, string file ) : bool

Checks if we should include the specified file in the project. Currently we only exclude project files for the current project type.

Private Methods

Method Description
CreateHierarchy ( HierarchyNode parent, string dir, bool isSearchPath ) : void
FileCreated ( object sender, FileSystemEventArgs e ) : void
FileDeleted ( object sender, FileSystemEventArgs e ) : void
FileRenamed ( object sender, RenamedEventArgs e ) : void
InitializeFileSystemWatcher ( ) : void

Initializes the file system watcher so that we automatically track changes to the project system based upon changes to the underlying file system.

Method Details

AddDirectory() protected method

Adds a directory to the project hierarchy with the specified parent.
protected AddDirectory ( HierarchyNode parent, bool isSearchPath, string subfolder ) : void
parent HierarchyNode
isSearchPath bool
subfolder string
return void

AddFile() protected method

Adds a file to the project hierarchy with the specified parent.
protected AddFile ( HierarchyNode parent, bool isSearchPath, string file ) : void
parent HierarchyNode
isSearchPath bool
file string
return void

CreateFolderNode() public method

Create a folder node based on absolute folder path.
public CreateFolderNode ( string absFolderPath ) : FolderNode
absFolderPath string
return Microsoft.VisualStudio.Project.FolderNode

DirectoryBasedProjectNode() public method

public DirectoryBasedProjectNode ( Microsoft.IronStudio.Project.CommonProjectPackage package, ImageList imageList ) : System
package Microsoft.IronStudio.Project.CommonProjectPackage
imageList System.Windows.Forms.ImageList
return System

ProcessFiles() protected method

protected ProcessFiles ( ) : void
return void

ProcessFolders() protected method

protected ProcessFolders ( ) : void
return void

Reload() protected method

protected Reload ( ) : void
return void

ShouldIncludeFileInProject() protected static method

Checks if we should include the specified file in the project. Currently we only exclude project files for the current project type.
protected static ShouldIncludeFileInProject ( string projFileExt, string file ) : bool
projFileExt string
file string
return bool