コード例 #1
0
 public LocalPackagesService(InstalledPackagesConfigService installedPackagesConfigService,
                             LocalPackagesConfigService localPackagesConfigService,
                             NuspecFileService nuspecFileService,
                             DllFilesService dllFilesService,
                             AssembliesService assembliesService)
 {
     _installedPackagesConfigService = installedPackagesConfigService;
     _localPackagesConfigService     = localPackagesConfigService;
     _nuspecFileService = nuspecFileService;
     _dllFilesService   = dllFilesService;
     _assembliesService = assembliesService;
 }
コード例 #2
0
 static EditorContext()
 {
     MainThreadSynchContext = SynchronizationContext.Current;
     Logger                         = new UnityConsoleLogger();
     FileService                    = new FileService();
     FrameworkService               = new FrameworkService();
     LocalPackagesConfigService     = new LocalPackagesConfigService(FileService);
     DllFilesService                = new DllFilesService(FileService, LocalPackagesConfigService);
     InstalledPackagesConfigService = new InstalledPackagesConfigService(FileService);
     AssembliesService              = new AssembliesService(FileService, InstalledPackagesConfigService);
     NugetConfigService             = new NugetConfigService(FileService);
     NuspecFileService              = new NuspecFileService(FileService);
     RemotePackagesService          = new RemotePackagesService(NugetConfigService, FileService, FrameworkService, LocalPackagesConfigService, Logger);
     LocalPackagesService           = new LocalPackagesService(InstalledPackagesConfigService, LocalPackagesConfigService, NuspecFileService, DllFilesService, AssembliesService);
 }