Ejemplo n.º 1
0
 public ExtensionDeps(
     IExtensionLogger logger,
     IServiceProvider serviceProvider,
     IJoinableTaskFactory taskFactory,
     IExtensionPackage package,
     IExtensionNotificationService extensionNotificationService
     )
 {
     Logger          = logger;
     ServiceProvider = serviceProvider;
     TaskFactory     = taskFactory;
     Package         = package;
     ExtensionNotificationService = extensionNotificationService;
 }
Ejemplo n.º 2
0
        public ExtensionsCacheService(
            IExtensionLogger logger,
            IExtensionsDiscoveryService eds,
            IExtensionNotificationService ens,
            IExtensionPackage extensionPackage,
            IInvocationCacheService ics)
        {
            _logger           = logger;
            _eds              = eds;
            _ens              = ens;
            _extensionPackage = extensionPackage;
            _ics              = ics;

            _ens.OnSolutionChanged += OnSolutionChanged;
            _ens.OnSolutionClosed  += OnSolutionChanged;
        }