C# 클래스 Microsoft.VisualStudio.Project.AssemblyReferenceNode

상속: ReferenceNode
파일 보기 프로젝트 열기: IntelliTect/PowerStudio 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateFromAssemblyName void
GetFullPathFromPath string
GetPathNameFromProjectFile void
InitializeFileChangeEvents void
OnAssemblyReferenceChangedOnDisk void
ResolveAssemblyReference void
SetHintPathAndPrivateValue void
SetReferenceProperties void
UnregisterFromFileChangeService void

공개 메소드들

메소드 설명
AssemblyReferenceNode ( ProjectNode root, ProjectElement element ) : System

Constructor for the ReferenceNode

AssemblyReferenceNode ( ProjectNode root, string assemblyPath ) : System

Constructor for the AssemblyReferenceNode

Close ( ) : int

Closes the node.

보호된 메소드들

메소드 설명
BindReferenceData ( ) : void

Links a reference node to the project and hierarchy.

CanShowDefaultIcon ( ) : bool

Determines if this is node a valid node for painting the default reference icon.

Dispose ( bool disposing ) : void

Disposes the node

IsAlreadyAdded ( ReferenceNode &existingReference ) : bool

Checks if an assembly is already added. The method parses all references and compares the full assemblynames, or the location of the assemblies to decide whether two assemblies are the same.

ResolveReference ( ) : void

비공개 메소드들

메소드 설명
CreateFromAssemblyName ( AssemblyName name ) : void
GetFullPathFromPath ( string path ) : string
GetPathNameFromProjectFile ( ) : void
InitializeFileChangeEvents ( ) : void

Registers with File change events

OnAssemblyReferenceChangedOnDisk ( object sender, FileChangedOnDiskEventArgs e ) : void

Event callback. Called when one of the assembly file is changed.

ResolveAssemblyReference ( ) : void

Does the actual job of resolving an assembly reference. We need a private method that does not violate calling virtual method from the constructor.

SetHintPathAndPrivateValue ( ) : void
SetReferenceProperties ( ) : void

This function ensures that some properties of the reference are set.

UnregisterFromFileChangeService ( ) : void

Unregisters this node from file change notifications.

메소드 상세

AssemblyReferenceNode() 공개 메소드

Constructor for the ReferenceNode
public AssemblyReferenceNode ( ProjectNode root, ProjectElement element ) : System
root ProjectNode
element ProjectElement
리턴 System

AssemblyReferenceNode() 공개 메소드

Constructor for the AssemblyReferenceNode
public AssemblyReferenceNode ( ProjectNode root, string assemblyPath ) : System
root ProjectNode
assemblyPath string
리턴 System

BindReferenceData() 보호된 메소드

Links a reference node to the project and hierarchy.
protected BindReferenceData ( ) : void
리턴 void

CanShowDefaultIcon() 보호된 메소드

Determines if this is node a valid node for painting the default reference icon.
protected CanShowDefaultIcon ( ) : bool
리턴 bool

Close() 공개 메소드

Closes the node.
public Close ( ) : int
리턴 int

Dispose() 보호된 메소드

Disposes the node
protected Dispose ( bool disposing ) : void
disposing bool
리턴 void

IsAlreadyAdded() 보호된 메소드

Checks if an assembly is already added. The method parses all references and compares the full assemblynames, or the location of the assemblies to decide whether two assemblies are the same.
protected IsAlreadyAdded ( ReferenceNode &existingReference ) : bool
existingReference ReferenceNode
리턴 bool

ResolveReference() 보호된 메소드

protected ResolveReference ( ) : void
리턴 void