C# Class PowerStudio.LanguageServices.PowerShell.Project.PowerShellProjectNode

Inheritance: Microsoft.VisualStudio.Project.ProjectNode
显示文件 Open project: IntelliTect/PowerStudio Class Usage Examples

Public Methods

Method Description
AddFileFromTemplate ( string source, string target ) : void

Called to add a file to the project from a template. Override to do it yourself if you want to customize the file

CreateFileNode ( ProjectElement item ) : FileNode

Create a file node based on an msbuild item.

GetAutomationObject ( ) : object

Gets the automation object for the project node.

PowerShellProjectNode ( PowerShellPackageBase package ) : System

Protected Methods

Method Description
CreateConfigProvider ( ) : ConfigProvider
GetConfigurationIndependentPropertyPages ( ) : System.Guid[]

List of Guids of the config independent property pages. It is called by the GetProperty for VSHPROPID_PropertyPagesCLSIDList property.

GetPriorityProjectDesignerPages ( ) : System.Guid[]

An ordered list of guids of the prefered property pages. See __VSHPROPID.VSHPROPID_PriorityPropertyPagesCLSIDList

Private Methods

Method Description
CreateServices ( Type serviceType ) : object
InitializeImageList ( ) : void
PowerShellProjectNode ( ) : System

Method Details

AddFileFromTemplate() public method

Called to add a file to the project from a template. Override to do it yourself if you want to customize the file
public AddFileFromTemplate ( string source, string target ) : void
source string Full path of template file
target string Full path of file once added to the project
return void

CreateConfigProvider() protected method

protected CreateConfigProvider ( ) : ConfigProvider
return Microsoft.VisualStudio.Project.ConfigProvider

CreateFileNode() public method

Create a file node based on an msbuild item.
public CreateFileNode ( ProjectElement item ) : FileNode
item Microsoft.VisualStudio.Project.ProjectElement msbuild item
return Microsoft.VisualStudio.Project.FileNode

GetAutomationObject() public method

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

GetConfigurationIndependentPropertyPages() protected method

List of Guids of the config independent property pages. It is called by the GetProperty for VSHPROPID_PropertyPagesCLSIDList property.
protected GetConfigurationIndependentPropertyPages ( ) : System.Guid[]
return System.Guid[]

GetPriorityProjectDesignerPages() protected method

An ordered list of guids of the prefered property pages. See __VSHPROPID.VSHPROPID_PriorityPropertyPagesCLSIDList
protected GetPriorityProjectDesignerPages ( ) : System.Guid[]
return System.Guid[]

PowerShellProjectNode() public method

public PowerShellProjectNode ( PowerShellPackageBase package ) : System
package PowerShellPackageBase
return System