Пример #1
0
 public ProductUpdateService() :
     this(ServiceLocator.GetGlobalService <SVsUIShell, IVsUIShell>(),
          ServiceLocator.GetInstance <IProductUpdateSettings>())
 {
 }
 public static IEnumerable <PackageSource> GetEnabledPackageSourcesWithAggregate()
 {
     return(GetEnabledPackageSourcesWithAggregate(ServiceLocator.GetInstance <IVsPackageSourceProvider>()));
 }
Пример #3
0
 public VsFileSystemProvider()
     : this(ServiceLocator.GetInstance <DTE>(),
            ServiceLocator.GetGlobalService <SComponentModel, IComponentModel>(),
            ServiceLocator.GetInstance <ISettings>())
 {
 }