C# Class Eto.Addin.VisualStudio.Editor.EditorFactory

Inheritance: IVsEditorFactory, IDisposable
Afficher le fichier Open project: picoe/Eto

Méthodes publiques

Méthode Description
Close ( ) : int
Dispose ( ) : void

Since we create a ServiceProvider which implements IDisposable we also need to implement IDisposable to make sure that the ServiceProvider's Dispose method gets called.

EditorFactory ( EtoAddinPackage package ) : System
GetReferences ( EnvDTE project ) : IEnumerable
GetService ( Type serviceType ) : object
MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int
SetSite ( Microsoft psp ) : int
ToHierarchy ( EnvDTE project ) : IVsHierarchy
ToVsProject ( EnvDTE project ) : IVsProject

Private Methods

Méthode Description
CreateEditorInstance ( uint grfCreateDoc, string pszMkDocument, string pszPhysicalView, IVsHierarchy pvHier, uint itemid, System punkDocDataExisting, System &ppunkDocView, System &ppunkDocData, string &pbstrEditorCaption, System.Guid &pguidCmdUI, int &pgrfCDW ) : int
EditorFactory ( ) : System
GetAssemblyPath ( EnvDTE vsProject ) : string
GetTextBuffer ( IntPtr punkDocDataExisting, string fileName, IVsProject project ) : IVsTextLines

Method Details

Close() public méthode

public Close ( ) : int
Résultat int

Dispose() public méthode

Since we create a ServiceProvider which implements IDisposable we also need to implement IDisposable to make sure that the ServiceProvider's Dispose method gets called.
public Dispose ( ) : void
Résultat void

EditorFactory() public méthode

public EditorFactory ( EtoAddinPackage package ) : System
package EtoAddinPackage
Résultat System

GetReferences() public static méthode

public static GetReferences ( EnvDTE project ) : IEnumerable
project EnvDTE
Résultat IEnumerable

GetService() public méthode

public GetService ( Type serviceType ) : object
serviceType System.Type
Résultat object

MapLogicalView() public méthode

public MapLogicalView ( System.Guid &rguidLogicalView, string &pbstrPhysicalView ) : int
rguidLogicalView System.Guid
pbstrPhysicalView string
Résultat int

SetSite() public méthode

public SetSite ( Microsoft psp ) : int
psp Microsoft
Résultat int

ToHierarchy() public static méthode

public static ToHierarchy ( EnvDTE project ) : IVsHierarchy
project EnvDTE
Résultat IVsHierarchy

ToVsProject() public static méthode

public static ToVsProject ( EnvDTE project ) : IVsProject
project EnvDTE
Résultat IVsProject