C# 클래스 XSharp.Project.XSharpProjectNode

상속: Microsoft.VisualStudio.Project.ProjectNode
파일 보기 프로젝트 열기: X-Sharp/XSharpPublic 1 사용 예제들

Private Properties

프로퍼티 타입 설명
CreateServices object
InitializeCATIDs void
InitializeImageList void
XSharpProjectNode System

공개 메소드들

메소드 설명
AddFileFromTemplate ( string source, string target ) : void

Adds the file from template.

CreateDependentFileNode ( ProjectElement item ) : XSharpDependentFileNode

Create dependent file node based on an msbuild item

CreateFileNode ( ProjectElement item ) : FileNode

Creates the file node.

GetAutomationObject ( ) : object

Returns an automation object representing this node

GetFile ( int fileId, uint flags, uint &itemid, string &fileName ) : int

Allows you to query the project for special files and optionally create them.

IsCodeFile ( string strFileName ) : bool

Evaluates if a file is an XSharp code file based on is extension

IsVoBinary ( string fileName ) : bool
Load ( string filename, string location, string name, uint flags, System.Guid &iidProject, int &canceled ) : void
XSharpProjectNode ( XSharpProjectPackage package ) : System

Initializes a new instance of the XSharpProjectNode class.

보호된 메소드들

메소드 설명
AddFileToMsBuild ( string file ) : ProjectElement
AddNewFileNodeToHierarchy ( HierarchyNode parentNode, string fileName ) : void
CreatePropertiesObject ( ) : NodeProperties
GetConfigurationDependentPropertyPages ( ) : System.Guid[]

Return list of guids of property pages that are dependent of the configuration

GetConfigurationIndependentPropertyPages ( ) : System.Guid[]

Return list of guids of property pages that are independent of the configuration

GetPriorityProjectDesignerPages ( ) : System.Guid[]

Return list of guids of all property pages

IsItemTypeFileType ( string type ) : bool

Called by the project to know if the item is a file (that is part of the project) or an intermediate file used by the MSBuild tasks/targets Override this method if your project has more types or different ones

비공개 메소드들

메소드 설명
CreateServices ( Type serviceType ) : object
InitializeCATIDs ( ) : void

Provide mapping from our browse objects and automation objects to our CATIDs CATID (Category ID) objects are used to extend the properties that appear in the Properties window for projects and project items.

InitializeImageList ( ) : void
XSharpProjectNode ( ) : System

Initializes the XSharpProjectNode class.

메소드 상세

AddFileFromTemplate() 공개 메소드

Adds the file from template.
public AddFileFromTemplate ( string source, string target ) : void
source string The source template.
target string The target file.
리턴 void

AddFileToMsBuild() 보호된 메소드

protected AddFileToMsBuild ( string file ) : ProjectElement
file string
리턴 Microsoft.VisualStudio.Project.ProjectElement

AddNewFileNodeToHierarchy() 보호된 메소드

protected AddNewFileNodeToHierarchy ( HierarchyNode parentNode, string fileName ) : void
parentNode HierarchyNode
fileName string
리턴 void

CreateDependentFileNode() 공개 메소드

Create dependent file node based on an msbuild item
public CreateDependentFileNode ( ProjectElement item ) : XSharpDependentFileNode
item Microsoft.VisualStudio.Project.ProjectElement msbuild item
리턴 XSharpDependentFileNode

CreateFileNode() 공개 메소드

Creates the file node.
public CreateFileNode ( ProjectElement item ) : FileNode
item Microsoft.VisualStudio.Project.ProjectElement The project element item.
리턴 Microsoft.VisualStudio.Project.FileNode

CreatePropertiesObject() 보호된 메소드

protected CreatePropertiesObject ( ) : NodeProperties
리턴 Microsoft.VisualStudio.Project.NodeProperties

GetAutomationObject() 공개 메소드

Returns an automation object representing this node
public GetAutomationObject ( ) : object
리턴 object

GetConfigurationDependentPropertyPages() 보호된 메소드

Return list of guids of property pages that are dependent of the configuration
protected GetConfigurationDependentPropertyPages ( ) : System.Guid[]
리턴 System.Guid[]

GetConfigurationIndependentPropertyPages() 보호된 메소드

Return list of guids of property pages that are independent of the configuration
protected GetConfigurationIndependentPropertyPages ( ) : System.Guid[]
리턴 System.Guid[]

GetFile() 공개 메소드

Allows you to query the project for special files and optionally create them.
public GetFile ( int fileId, uint flags, uint &itemid, string &fileName ) : int
fileId int __PSFFILEID of the file
flags uint __PSFFLAGS flags for the file
itemid uint The itemid of the node in the hierarchy
fileName string The file name of the special file.
리턴 int

GetPriorityProjectDesignerPages() 보호된 메소드

Return list of guids of all property pages
protected GetPriorityProjectDesignerPages ( ) : System.Guid[]
리턴 System.Guid[]

IsCodeFile() 공개 메소드

Evaluates if a file is an XSharp code file based on is extension
public IsCodeFile ( string strFileName ) : bool
strFileName string The filename to be evaluated
리턴 bool

IsItemTypeFileType() 보호된 메소드

Called by the project to know if the item is a file (that is part of the project) or an intermediate file used by the MSBuild tasks/targets Override this method if your project has more types or different ones
protected IsItemTypeFileType ( string type ) : bool
type string Type name
리턴 bool

IsVoBinary() 공개 메소드

public IsVoBinary ( string fileName ) : bool
fileName string
리턴 bool

Load() 공개 메소드

public Load ( string filename, string location, string name, uint flags, System.Guid &iidProject, int &canceled ) : void
filename string
location string
name string
flags uint
iidProject System.Guid
canceled int
리턴 void

XSharpProjectNode() 공개 메소드

Initializes a new instance of the XSharpProjectNode class.
public XSharpProjectNode ( XSharpProjectPackage package ) : System
package XSharpProjectPackage Value of the project package for initialize internal package field.
리턴 System