C# Class NClass.Core.Project

Inheritance: IModifiable
Datei anzeigen Open project: gbaychev/NClass Class Usage Examples

Public Methods

Method 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

Method 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 method

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

Clean() public method

public Clean ( ) : void
return void

CloseItems() public method

public CloseItems ( ) : void
return void

Equals() public method

public Equals ( object obj ) : bool
obj object
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

GetProjectDirectory() public method

public GetProjectDirectory ( ) : string
return string

Load() public static method

/// 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
return Project

Project() public method

public Project ( ) : System
return System

Project() public method

/// cannot be empty string. /// /// is null. ///
public Project ( string name ) : System
name string
return System

Remove() public method

public Remove ( IProjectItem item ) : void
item IProjectItem
return void

Save() public method

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

Save() public method

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

ToString() public method

public ToString ( ) : string
return string