C# Class Microsoft.IronStudio.Project.DirectoryBasedProjectNode

Inheritance: CommonProjectNode
Afficher le fichier Open project: jschementi/iron

Méthodes publiques

Méthode Description
CreateFolderNode ( string absFolderPath ) : FolderNode

Create a folder node based on absolute folder path.

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

Méthodes protégées

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

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

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

AddFile() protected méthode

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

CreateFolderNode() public méthode

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

DirectoryBasedProjectNode() public méthode

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

ProcessFiles() protected méthode

protected ProcessFiles ( ) : void
Résultat void

ProcessFolders() protected méthode

protected ProcessFolders ( ) : void
Résultat void

Reload() protected méthode

protected Reload ( ) : void
Résultat void

ShouldIncludeFileInProject() protected static méthode

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
Résultat bool