public RazorDirectiveAttributeCompletionSource( ForegroundDispatcher foregroundDispatcher, VisualStudioRazorParser parser, RazorCompletionFactsService completionFactsService, ICompletionBroker completionBroker, VisualStudioDescriptionFactory descriptionFactory) { if (foregroundDispatcher == null) { throw new ArgumentNullException(nameof(foregroundDispatcher)); } if (parser == null) { throw new ArgumentNullException(nameof(parser)); } if (completionFactsService == null) { throw new ArgumentNullException(nameof(completionFactsService)); } if (descriptionFactory == null) { throw new ArgumentNullException(nameof(descriptionFactory)); } _foregroundDispatcher = foregroundDispatcher; _parser = parser; _completionFactsService = completionFactsService; _completionBroker = completionBroker; _descriptionFactory = descriptionFactory; }
public RazorDirectiveAttributeCompletionSource( ProjectSnapshotManagerDispatcher projectSnapshotManagerDispatcher, VisualStudioRazorParser parser, RazorCompletionFactsService completionFactsService, ICompletionBroker completionBroker, VisualStudioDescriptionFactory descriptionFactory, JoinableTaskFactory joinableTaskFactory) { if (projectSnapshotManagerDispatcher is null) { throw new ArgumentNullException(nameof(projectSnapshotManagerDispatcher)); } if (parser is null) { throw new ArgumentNullException(nameof(parser)); } if (completionFactsService is null) { throw new ArgumentNullException(nameof(completionFactsService)); } if (descriptionFactory is null) { throw new ArgumentNullException(nameof(descriptionFactory)); } _projectSnapshotManagerDispatcher = projectSnapshotManagerDispatcher; _parser = parser; _completionFactsService = completionFactsService; _completionBroker = completionBroker; _descriptionFactory = descriptionFactory; _joinableTaskFactory = joinableTaskFactory; }
public RazorDirectiveAttributeCompletionSourceProvider( ProjectSnapshotManagerDispatcher projectSnapshotManagerDispatcher, RazorCompletionFactsService completionFactsService, IAsyncCompletionBroker asyncCoompletionBroker, ICompletionBroker completionBroker, VisualStudioDescriptionFactory descriptionFactory, JoinableTaskContext joinableTaskContext) { if (projectSnapshotManagerDispatcher == null) { throw new ArgumentNullException(nameof(projectSnapshotManagerDispatcher)); } if (completionFactsService == null) { throw new ArgumentNullException(nameof(completionFactsService)); } if (asyncCoompletionBroker is null) { throw new ArgumentNullException(nameof(asyncCoompletionBroker)); } if (descriptionFactory == null) { throw new ArgumentNullException(nameof(descriptionFactory)); } if (joinableTaskContext is null) { throw new ArgumentNullException(nameof(joinableTaskContext)); } _projectSnapshotManagerDispatcher = projectSnapshotManagerDispatcher; _completionFactsService = completionFactsService; _completionBroker = completionBroker; _descriptionFactory = descriptionFactory; _joinableTaskContext = joinableTaskContext; }