public DesignerAttributeIncrementalAnalyzer( IServiceProvider serviceProvider, IForegroundNotificationService notificationService, IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _serviceProvider = serviceProvider; Contract.ThrowIfNull(_serviceProvider); _notificationService = notificationService; _listener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.DesignerAttribute); _state = new DesignerAttributeState(); }
public AbstractDesignerAttributeIncrementalAnalyzer( IServiceProvider serviceProvider, IForegroundNotificationService notificationService, IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners) { _serviceProvider = serviceProvider; Contract.ThrowIfNull(_serviceProvider); _notificationService = notificationService; _listener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.DesignerAttribute); _state = new DesignerAttributeState(); }
public DesignerAttributeIncrementalAnalyzer( IServiceProvider serviceProvider, IForegroundNotificationService notificationService, IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _serviceProvider = serviceProvider; Contract.ThrowIfNull(_serviceProvider); _notificationService = notificationService; _cpsProjects = new ConcurrentDictionary <ProjectId, bool>(concurrencyLevel: 2, capacity: 10); _listener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.DesignerAttribute); _state = new DesignerAttributeState(); }
public DesignerAttributeIncrementalAnalyzer( IServiceProvider serviceProvider, IForegroundNotificationService notificationService, IAsynchronousOperationListenerProvider listenerProvider) { _serviceProvider = serviceProvider; Contract.ThrowIfNull(_serviceProvider); _notificationService = notificationService; _cpsProjects = new ConcurrentDictionary <ProjectId, bool>(concurrencyLevel: 2, capacity: 10); _listener = listenerProvider.GetListener(FeatureAttribute.DesignerAttribute); _state = new DesignerAttributeState(); }