C# Class RIM.VSNDK_Package.Import.Model.ImportModel

DataModel Class for the Import Dialog
Inheritance: INotifyPropertyChanged
Afficher le fichier Open project: blackberry/VSPlugin Class Usage Examples

Méthodes publiques

Méthode Description
AddBlackBerryConfigurations ( Project proj ) : void

add blackberry configurations

AddSummaryString ( string entry ) : void

Helper function to add a summary string to the list

ImportModel ( ) : System

ImportModel Constructor

WalkDirectoryTree ( Project proj, DirectoryInfo sourceDir, DirectoryInfo destinationDir, VCFilter filter ) : bool

Recursive Function to walk a specified directory tree and add the files into a Visual Studio C project.

Méthodes protégées

Méthode Description
OnPropertyChanged ( string propName ) : void

Fire the PropertyChnaged event handler on change of property

Private Methods

Méthode Description
AddFileToProject ( Project proj, string source, string destination, VCFilter filter ) : void

Add File to specified project

AddFolderToProject ( Project proj, string dirInfo, string newDir, VCFilter filter ) : VCFilter

Add Folder to Specified Project

Method Details

AddBlackBerryConfigurations() public méthode

add blackberry configurations
public AddBlackBerryConfigurations ( Project proj ) : void
proj Project
Résultat void

AddSummaryString() public méthode

Helper function to add a summary string to the list
public AddSummaryString ( string entry ) : void
entry string
Résultat void

ImportModel() public méthode

ImportModel Constructor
public ImportModel ( ) : System
Résultat System

OnPropertyChanged() protected méthode

Fire the PropertyChnaged event handler on change of property
protected OnPropertyChanged ( string propName ) : void
propName string
Résultat void

WalkDirectoryTree() public méthode

Recursive Function to walk a specified directory tree and add the files into a Visual Studio C project.
public WalkDirectoryTree ( Project proj, DirectoryInfo sourceDir, DirectoryInfo destinationDir, VCFilter filter ) : bool
proj Project Destination Project
sourceDir System.IO.DirectoryInfo Source Directory to begin walking
destinationDir System.IO.DirectoryInfo Destination Directory of new project to copy files to
filter VCFilter VCFilter object to add files to
Résultat bool