C# Class VsTeXProject.VisualStudio.Project.ProjectReferenceNode

Inheritance: ReferenceNode
Afficher le fichier Open project: mimura1133/vstex Class Usage Examples

Private Properties

Свойство Type Description
IsReferenceInCycle bool
IsThisProjectReferenceInCycle bool
ProjectReferenceNode System
ShowCircularReferenceErrorMessage void

Méthodes publiques

Méthode Description
AddReference ( ) : void

The node is added to the hierarchy and then updates the build dependency list.

ProjectReferenceNode ( ProjectNode root, string referencedProjectName, string projectPath, string projectReference ) : System

constructor for the ProjectReferenceNode

Remove ( bool removeFromStorage ) : void

Overridden method. The method updates the build dependency list before removing the node from the hierarchy.

Méthodes protégées

Méthode Description
BindReferenceData ( ) : void

Links a reference node to the project file.

CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool

Checks if a project reference can be added to the hierarchy. It calls base to see if the reference is not already there, then checks for circular references.

CanShowDefaultIcon ( ) : bool

Defines whether this node is valid node for painting the refererence icon.

CreatePropertiesObject ( ) : NodeProperties

Private Methods

Méthode Description
IsReferenceInCycle ( System.Guid projectGuid ) : bool

Checks whether a reference added to a given project would introduce a circular dependency.

IsThisProjectReferenceInCycle ( ) : bool
ProjectReferenceNode ( ProjectNode root, ProjectElement element ) : System
ShowCircularReferenceErrorMessage ( ) : void

Method Details

AddReference() public méthode

The node is added to the hierarchy and then updates the build dependency list.
public AddReference ( ) : void
Résultat void

BindReferenceData() protected méthode

Links a reference node to the project file.
protected BindReferenceData ( ) : void
Résultat void

CanAddReference() protected méthode

Checks if a project reference can be added to the hierarchy. It calls base to see if the reference is not already there, then checks for circular references.
protected CanAddReference ( CannotAddReferenceErrorMessage &errorHandler ) : bool
errorHandler CannotAddReferenceErrorMessage The error handler delegate to return
Résultat bool

CanShowDefaultIcon() protected méthode

Defines whether this node is valid node for painting the refererence icon.
protected CanShowDefaultIcon ( ) : bool
Résultat bool

CreatePropertiesObject() protected méthode

protected CreatePropertiesObject ( ) : NodeProperties
Résultat NodeProperties

ProjectReferenceNode() public méthode

constructor for the ProjectReferenceNode
public ProjectReferenceNode ( ProjectNode root, string referencedProjectName, string projectPath, string projectReference ) : System
root ProjectNode
referencedProjectName string
projectPath string
projectReference string
Résultat System

Remove() public méthode

Overridden method. The method updates the build dependency list before removing the node from the hierarchy.
public Remove ( bool removeFromStorage ) : void
removeFromStorage bool
Résultat void