コード例 #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>();
 }