Package.RegisterEditorFactory Method (IVsEditorFactory)
Registers an editor factory with Visual Studio.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
To register an editor factory for a VSPackage, perform the following steps:
Editor factories are automatically unregistered when the package is disposed. If the editor factory object implements IDisposable, its Dispose method is called after the factory has been unregistered with Visual Studio.