Table of Contents

Class Project

Namespace
Alternet.Common.Projects
Assembly
Alternet.Common.v10.dll

Represents the base class for all project types.

public class Project
Inheritance
Project
Derived

Properties

DefaultExtension

Gets a default extension of the project's code files.

Files

Gets list of files included in the project.

HasProject

Gets a value indicating whether project contains some data.

IsFolder

Gets or sets a boolean value indicates whether this Project represents a folder within project collection.

IsModified

Gets or sets a value indicating whether project content has been modified since last save.

ProjectFileName

Gets fully qualified name of the project file.

ProjectName

Gets or sets project's name.

Resources

Gets the list of the resources embedded into the project.

UserSettings

Gets user defined settings for this project.

Methods

AddFile(string)

Adds specified code or resource file to the project.

AllFiles(bool)

Gets list of files included in the project.

BeginUpdate()

Prevents project updating until calling EndUpdate method.

EndUpdate()

Re-enables project updating, that was turn of by calling BeginUpdate method.

FileInProject(string)
FileInProject(string, out int)
OnProjectModified()
RemoveFile(string)

Removes specified file from the project.

Reset()

Resets Project to the default state.

ResolveFile(string, out string)
ResourceInProject(string)
ResourceInProject(string, out int)

Events

ProjectModified

Occurs when project content was modified.