C# Class XSharp.Project.XSharpFileNode

This class extends the FileNode in order to represent a file within the hierarchy.
Inheritance: Microsoft.VisualStudio.Project.FileNode
显示文件 Open project: X-Sharp/XSharpPublic Class Usage Examples

Private Properties

Property Type Description
CreateServices object
GetFileType XSharpFileType
RetrieveImageIndex int
UpdateItemType void
XSharpFileNode System

Public Methods

Method Description
GetAutomationObject ( ) : object

Gets the automation object for the file node.

GetItemType ( string file ) : string
UpdateHasDesigner ( ) : void

Protected Methods

Method Description
CreatePropertiesObject ( ) : NodeProperties
DoDefaultAction ( ) : void

Open a file depending on the SubType property associated with the file item in the project file

GetDocumentManager ( ) : DocumentManager

Private Methods

Method Description
CreateServices ( Type serviceType ) : object
GetFileType ( string filename ) : XSharpFileType
RetrieveImageIndex ( ) : int
UpdateItemType ( ) : void
XSharpFileNode ( ProjectNode root, ProjectElement e ) : System

Initializes a new instance of the XSharpFileNode class.

Method Details

CreatePropertiesObject() protected method

protected CreatePropertiesObject ( ) : NodeProperties
return Microsoft.VisualStudio.Project.NodeProperties

DoDefaultAction() protected method

Open a file depending on the SubType property associated with the file item in the project file
protected DoDefaultAction ( ) : void
return void

GetAutomationObject() public method

Gets the automation object for the file node.
public GetAutomationObject ( ) : object
return object

GetDocumentManager() protected method

protected GetDocumentManager ( ) : DocumentManager
return Microsoft.VisualStudio.Project.DocumentManager

GetItemType() public static method

public static GetItemType ( string file ) : string
file string
return string

UpdateHasDesigner() public method

public UpdateHasDesigner ( ) : void
return void