C# Class FSharp.ProjectExtender.GlobalServices

Afficher le fichier Open project: Hill30/F--Project-Extender Class Usage Examples

Méthodes publiques

Свойство Type Description
DTE EnvDTE.DTE
DocumentTracker IVsTrackProjectDocuments2
RDT IVsRunningDocumentTable
SelectionMonitor IVsMonitorSelection
Shell IVsUIShell
Solution IVsSolution
documentTracker IVsTrackProjectDocuments2
dte EnvDTE.DTE
selectionMonitor IVsMonitorSelection
shell IVsUIShell
solution IVsSolution

Méthodes publiques

Méthode Description
IsSameComObject ( object obj1, object obj2 ) : bool

Verifies that two objects represent the same instance of a COM object. This essentially compares the IUnkown pointers of the 2 objects. This is needed in scenario where aggregation is involved.

getFSharpProjectNode ( IVsProject root ) : Microsoft.VisualStudio.FSharp.ProjectSystem.ProjectNode

Retrieves the FSharp project node from the IVsProject interface

get_current_project ( ) : IVsProject

retrieves the IVsProject interface for currentll selected project

get_current_project_stub ( ) : string

retrieves the IVsProject interface for currentll selected project

Private Methods

Méthode Description
QueryInterfaceIUnknown ( object objToQuery ) : IntPtr

Retrieve the IUnknown for the managed or COM object passed in.

getSolutionExplorer ( ) : IVsUIHierarchyWindow

returns a pointer to the solution explorer window. Used to intialize the static pointer

get_selectionTracker ( ) : IVsTrackSelectionEx

Method Details

IsSameComObject() public static méthode

Verifies that two objects represent the same instance of a COM object. This essentially compares the IUnkown pointers of the 2 objects. This is needed in scenario where aggregation is involved.
public static IsSameComObject ( object obj1, object obj2 ) : bool
obj1 object Can be an object, interface or IntPtr
obj2 object Can be an object, interface or IntPtr
Résultat bool

getFSharpProjectNode() public static méthode

Retrieves the FSharp project node from the IVsProject interface
public static getFSharpProjectNode ( IVsProject root ) : Microsoft.VisualStudio.FSharp.ProjectSystem.ProjectNode
root IVsProject
Résultat Microsoft.VisualStudio.FSharp.ProjectSystem.ProjectNode

get_current_project() public static méthode

retrieves the IVsProject interface for currentll selected project
public static get_current_project ( ) : IVsProject
Résultat IVsProject

get_current_project_stub() public static méthode

retrieves the IVsProject interface for currentll selected project
public static get_current_project_stub ( ) : string
Résultat string

Property Details

DTE public_oe static_oe property

public static EnvDTE.DTE DTE
Résultat EnvDTE.DTE

DocumentTracker public_oe static_oe property

public static IVsTrackProjectDocuments2 DocumentTracker
Résultat IVsTrackProjectDocuments2

RDT public_oe static_oe property

public static IVsRunningDocumentTable RDT
Résultat IVsRunningDocumentTable

SelectionMonitor public_oe static_oe property

public static IVsMonitorSelection SelectionMonitor
Résultat IVsMonitorSelection

Shell public_oe static_oe property

public static IVsUIShell Shell
Résultat IVsUIShell

Solution public_oe static_oe property

public static IVsSolution Solution
Résultat IVsSolution

documentTracker public_oe static_oe property

public static IVsTrackProjectDocuments2 documentTracker
Résultat IVsTrackProjectDocuments2

dte public_oe static_oe property

public static EnvDTE.DTE dte
Résultat EnvDTE.DTE

selectionMonitor public_oe static_oe property

public static IVsMonitorSelection selectionMonitor
Résultat IVsMonitorSelection

shell public_oe static_oe property

public static IVsUIShell shell
Résultat IVsUIShell

solution public_oe static_oe property

public static IVsSolution solution
Résultat IVsSolution