C# Класс VsTeXProject.VisualStudio.Project.ProjectReferenceNode

Наследование: ReferenceNode
Показать файл Открыть проект Примеры использования класса

Private Properties

Свойство Тип Описание
IsReferenceInCycle bool
IsThisProjectReferenceInCycle bool
ProjectReferenceNode System
ShowCircularReferenceErrorMessage void

Открытые методы

Метод Описание
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.

Защищенные методы

Метод Описание
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

Приватные методы

Метод Описание
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

Описание методов

AddReference() публичный Метод

The node is added to the hierarchy and then updates the build dependency list.
public AddReference ( ) : void
Результат void

BindReferenceData() защищенный Метод

Links a reference node to the project file.
protected BindReferenceData ( ) : void
Результат void

CanAddReference() защищенный Метод

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
Результат bool

CanShowDefaultIcon() защищенный Метод

Defines whether this node is valid node for painting the refererence icon.
protected CanShowDefaultIcon ( ) : bool
Результат bool

CreatePropertiesObject() защищенный Метод

protected CreatePropertiesObject ( ) : NodeProperties
Результат NodeProperties

ProjectReferenceNode() публичный Метод

constructor for the ProjectReferenceNode
public ProjectReferenceNode ( ProjectNode root, string referencedProjectName, string projectPath, string projectReference ) : System
root ProjectNode
referencedProjectName string
projectPath string
projectReference string
Результат System

Remove() публичный Метод

Overridden method. The method updates the build dependency list before removing the node from the hierarchy.
public Remove ( bool removeFromStorage ) : void
removeFromStorage bool
Результат void