示例#1
0
 public VsExtensionManager(
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
 {
     this.vsManager = serviceProvider.GetService <ExtMan.SVsExtensionManager, ExtMan.IVsExtensionManager>();
 }
示例#2
0
 public VsExtensionManager(
     [Import(typeof(SVsServiceProvider))] IServiceProvider serviceProvider)
 {
     this.vsManager = serviceProvider.GetService<ExtMan.SVsExtensionManager, ExtMan.IVsExtensionManager>();
 }