C# Class NClass.Core.Project

Inheritance: IModifiable
Afficher le fichier Open project: gbaychev/NClass Class Usage Examples

Méthodes publiques

Méthode Description
Add ( IProjectItem item ) : void
Clean ( ) : void
CloseItems ( ) : void
Equals ( object obj ) : bool
GetHashCode ( ) : int
GetProjectDirectory ( ) : string
Load ( string fileName ) : Project
Project ( ) : System
Project ( string name ) : System
Remove ( IProjectItem item ) : void
Save ( ) : void
Save ( string fileName ) : void
ToString ( ) : string

Private Methods

Méthode Description
Deserialize ( XmlElement node ) : void
LoadWithPreviousFormat ( XmlElement root ) : Project
OnFileStateChanged ( EventArgs e ) : void
OnItemAdded ( ProjectItemEventArgs e ) : void
OnItemRemoved ( ProjectItemEventArgs e ) : void
OnModified ( EventArgs e ) : void
OnRenamed ( EventArgs e ) : void
Serialize ( XmlElement node ) : void
item_Modified ( object sender, EventArgs e ) : void

Method Details

Add() public méthode

/// has been already added to the project. /// /// is null. ///
public Add ( IProjectItem item ) : void
item IProjectItem
Résultat void

Clean() public méthode

public Clean ( ) : void
Résultat void

CloseItems() public méthode

public CloseItems ( ) : void
Résultat void

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

GetProjectDirectory() public méthode

public GetProjectDirectory ( ) : string
Résultat string

Load() public static méthode

/// Could not load the project. /// /// The save file is corrupt and could not be loaded. /// /// is empty string. ///
public static Load ( string fileName ) : Project
fileName string
Résultat Project

Project() public méthode

public Project ( ) : System
Résultat System

Project() public méthode

/// cannot be empty string. /// /// is null. ///
public Project ( string name ) : System
name string
Résultat System

Remove() public méthode

public Remove ( IProjectItem item ) : void
item IProjectItem
Résultat void

Save() public méthode

/// Could not save the project. /// /// The project was not saved before by the method. ///
public Save ( ) : void
Résultat void

Save() public méthode

/// Could not save the project. /// /// is null or empty string. ///
public Save ( string fileName ) : void
fileName string
Résultat void

ToString() public méthode

public ToString ( ) : string
Résultat string