public StateMachine(ITextBuffer buffer, IInlineRenameService inlineRenameService, IAsynchronousOperationListener asyncListener) { _buffer = buffer; _buffer.Changed += Buffer_Changed; _inlineRenameService = inlineRenameService; _asyncListener = asyncListener; }
public ExtractMethodCommandHandler( IThreadingContext threadingContext, ITextBufferUndoManagerProvider undoManager, IInlineRenameService renameService ) : base(threadingContext, undoManager, renameService) { }
public ExtractMethodCommandHandler( ITextBufferUndoManagerProvider undoManager, IEditorOperationsFactoryService editorOperationsFactoryService, IInlineRenameService renameService) : base(undoManager, editorOperationsFactoryService, renameService) { }
public ExtractMethodCommandHandler( ITextBufferUndoManagerProvider undoManager, IEditorOperationsFactoryService editorOperationsFactoryService, IInlineRenameService renameService, IWaitIndicator waitIndicator) : base(undoManager, editorOperationsFactoryService, renameService, waitIndicator) { }
public CodeActionEditHandlerService( IPreviewFactoryService previewService, IInlineRenameService renameService, ITextBufferAssociatedViewService associatedViewService) { _previewService = previewService; _renameService = renameService; _associatedViewService = associatedViewService; }
public AbstractExtractMethodCommandHandler( ITextBufferUndoManagerProvider undoManager, IInlineRenameService renameService) { Contract.ThrowIfNull(undoManager); Contract.ThrowIfNull(renameService); _undoManager = undoManager; _renameService = renameService; }
public QuickInfoCommandHandlerAndSourceProvider( IInlineRenameService inlineRenameService, [ImportMany] IEnumerable <Lazy <IQuickInfoProvider, OrderableLanguageMetadata> > providers, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners, [ImportMany] IEnumerable <Lazy <IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession>, OrderableMetadata> > presenters) : this(inlineRenameService, ExtensionOrderer.Order(presenters).Select(lazy => lazy.Value).FirstOrDefault(), providers, asyncListeners) { }
public SignatureHelpCommandHandler( IInlineRenameService inlineRenameService, [ImportMany] IEnumerable <Lazy <ISignatureHelpProvider, OrderableLanguageMetadata> > signatureHelpProviders, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners, [ImportMany] IEnumerable <Lazy <IIntelliSensePresenter <ISignatureHelpPresenterSession, ISignatureHelpSession>, OrderableMetadata> > signatureHelpPresenters) : this(inlineRenameService, ExtensionOrderer.Order(signatureHelpPresenters).Select(lazy => lazy.Value).FirstOrDefault(), signatureHelpProviders, asyncListeners) { }
public EventHookupCommandHandler( IInlineRenameService inlineRenameService, IAsynchronousOperationListenerProvider listenerProvider, EventHookupSessionManager eventHookupSessionManager) { _inlineRenameService = inlineRenameService; _asyncListener = listenerProvider.GetListener(FeatureAttribute.EventHookup); this.EventHookupSessionManager = eventHookupSessionManager; }
public RenameTrackingTaggerProvider( IThreadingContext threadingContext, IInlineRenameService inlineRenameService, IDiagnosticAnalyzerService diagnosticAnalyzerService, IAsynchronousOperationListenerProvider listenerProvider) { _threadingContext = threadingContext; _inlineRenameService = inlineRenameService; _diagnosticAnalyzerService = diagnosticAnalyzerService; _asyncListener = listenerProvider.GetListener(FeatureAttribute.RenameTracking); }
public CodeActionEditHandlerService( IThreadingContext threadingContext, IPreviewFactoryService previewService, IInlineRenameService renameService, ITextBufferAssociatedViewService associatedViewService) : base(threadingContext) { _previewService = previewService; _renameService = renameService; _associatedViewService = associatedViewService; }
// For testing purposes. public SignatureHelpCommandHandler( IInlineRenameService inlineRenameService, IIntelliSensePresenter <ISignatureHelpPresenterSession, ISignatureHelpSession> signatureHelpPresenter, [ImportMany] IEnumerable <Lazy <ISignatureHelpProvider, OrderableLanguageMetadata> > signatureHelpProviders, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _inlineRenameService = inlineRenameService; _signatureHelpProviders = ExtensionOrderer.Order(signatureHelpProviders); _asyncListeners = asyncListeners; _signatureHelpPresenter = signatureHelpPresenter; }
// For testing purposes. public QuickInfoCommandHandlerAndSourceProvider( IInlineRenameService inlineRenameService, IIntelliSensePresenter <IQuickInfoPresenterSession, IQuickInfoSession> presenter, [ImportMany] IEnumerable <Lazy <IQuickInfoProvider, OrderableLanguageMetadata> > providers, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _inlineRenameService = inlineRenameService; _providers = ExtensionOrderer.Order(providers); _asyncListeners = asyncListeners; _presenter = presenter; }
public StateMachine( ITextBuffer buffer, IInlineRenameService inlineRenameService, IAsynchronousOperationListener asyncListener, IDiagnosticAnalyzerService diagnosticAnalyzerService) { _buffer = buffer; _buffer.Changed += Buffer_Changed; _inlineRenameService = inlineRenameService; _asyncListener = asyncListener; _diagnosticAnalyzerService = diagnosticAnalyzerService; }
public AsyncCompletionService( IEditorOperationsFactoryService editorOperationsFactoryService, ITextUndoHistoryRegistry undoHistoryRegistry, IInlineRenameService inlineRenameService, IAsynchronousOperationListenerProvider listenerProvider, [ImportMany] IEnumerable <Lazy <IIntelliSensePresenter <ICompletionPresenterSession, ICompletionSession>, OrderableMetadata> > completionPresenters, [ImportMany] IEnumerable <Lazy <IBraceCompletionSessionProvider, BraceCompletionMetadata> > autoBraceCompletionChars) : this(editorOperationsFactoryService, undoHistoryRegistry, inlineRenameService, listenerProvider, ExtensionOrderer.Order(completionPresenters).Select(lazy => lazy.Value).FirstOrDefault(), autoBraceCompletionChars) { }
public AbstractExtractMethodCommandHandler( ITextBufferUndoManagerProvider undoManager, IEditorOperationsFactoryService editorOperationsFactoryService, IInlineRenameService renameService) { Contract.ThrowIfNull(undoManager); Contract.ThrowIfNull(editorOperationsFactoryService); Contract.ThrowIfNull(renameService); _undoManager = undoManager; _editorOperationsFactoryService = editorOperationsFactoryService; _renameService = renameService; }
public RenameTrackingTaggerProvider( ITextUndoHistoryRegistry undoHistoryRegistry, IWaitIndicator waitIndicator, IInlineRenameService inlineRenameService, [ImportMany] IEnumerable <IRefactorNotifyService> refactorNotifyServices, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _undoHistoryRegistry = undoHistoryRegistry; _waitIndicator = waitIndicator; _inlineRenameService = inlineRenameService; _refactorNotifyServices = refactorNotifyServices; _asyncListener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.RenameTracking); }
public AsyncCompletionService( IEditorOperationsFactoryService editorOperationsFactoryService, ITextUndoHistoryRegistry undoHistoryRegistry, IInlineRenameService inlineRenameService, [ImportMany] IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners, [ImportMany] IEnumerable<Lazy<IIntelliSensePresenter<ICompletionPresenterSession, ICompletionSession>, OrderableMetadata>> completionPresenters, [ImportMany] IEnumerable<Lazy<ICompletionProvider, OrderableLanguageMetadata>> allCompletionProviders, [ImportMany] IEnumerable<Lazy<IBraceCompletionSessionProvider, IBraceCompletionMetadata>> autoBraceCompletionChars) : this(editorOperationsFactoryService, undoHistoryRegistry, inlineRenameService, ExtensionOrderer.Order(completionPresenters).Select(lazy => lazy.Value).FirstOrDefault(), asyncListeners, allCompletionProviders, autoBraceCompletionChars) { }
public EventHookupCommandHandler( IInlineRenameService inlineRenameService, Microsoft.CodeAnalysis.Editor.Host.IWaitIndicator waitIndicator, IQuickInfoBroker quickInfoBroker, [Import(AllowDefault = true)] IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, [ImportMany] IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners) { _inlineRenameService = inlineRenameService; _waitIndicator = waitIndicator; _prematureDismissalPreventer = prematureDismissalPreventer; _asyncListener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.EventHookup); this.EventHookupSessionManager = new EventHookupSessionManager(prematureDismissalPreventer, quickInfoBroker); }
public EventHookupCommandHandler( IThreadingContext threadingContext, IInlineRenameService inlineRenameService, EventHookupSessionManager eventHookupSessionManager, IGlobalOptionService globalOptions, IAsynchronousOperationListenerProvider listenerProvider) { _threadingContext = threadingContext; _inlineRenameService = inlineRenameService; _asyncListener = listenerProvider.GetListener(FeatureAttribute.EventHookup); _globalOptions = globalOptions; this.EventHookupSessionManager = eventHookupSessionManager; }
public EventHookupCommandHandler( IInlineRenameService inlineRenameService, #pragma warning disable CS0618 // IQuickInfo* is obsolete, tracked by https://github.com/dotnet/roslyn/issues/24094 IQuickInfoBroker quickInfoBroker, #pragma warning restore CS0618 // IQuickInfo* is obsolete, tracked by https://github.com/dotnet/roslyn/issues/24094 [Import(AllowDefault = true)] IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, IAsynchronousOperationListenerProvider listenerProvider) { _inlineRenameService = inlineRenameService; _prematureDismissalPreventer = prematureDismissalPreventer; _asyncListener = listenerProvider.GetListener(FeatureAttribute.EventHookup); this.EventHookupSessionManager = new EventHookupSessionManager(prematureDismissalPreventer, quickInfoBroker); }
public EventHookupCommandHandler( IInlineRenameService inlineRenameService, Microsoft.CodeAnalysis.Editor.Host.IWaitIndicator waitIndicator, IQuickInfoBroker quickInfoBroker, [Import(AllowDefault = true)] IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, [ImportMany] IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners) { _inlineRenameService = inlineRenameService; _waitIndicator = waitIndicator; _prematureDismissalPreventer = prematureDismissalPreventer; _asyncListener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.EventHookup); this.EventHookupSessionManager = new EventHookupSessionManager(prematureDismissalPreventer, quickInfoBroker); }
public EventHookupCommandHandler( IInlineRenameService inlineRenameService, Microsoft.CodeAnalysis.Editor.Host.IWaitIndicator waitIndicator, IQuickInfoBroker quickInfoBroker, [Import(AllowDefault = true)] IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, IAsynchronousOperationListenerProvider listenerProvider) { _inlineRenameService = inlineRenameService; _waitIndicator = waitIndicator; _prematureDismissalPreventer = prematureDismissalPreventer; _asyncListener = listenerProvider.GetListener(FeatureAttribute.EventHookup); this.EventHookupSessionManager = new EventHookupSessionManager(prematureDismissalPreventer, quickInfoBroker); }
public AbstractExtractMethodCommandHandler( IThreadingContext threadingContext, ITextBufferUndoManagerProvider undoManager, IInlineRenameService renameService, IGlobalOptionService globalOptions) { Contract.ThrowIfNull(threadingContext); Contract.ThrowIfNull(undoManager); Contract.ThrowIfNull(renameService); _threadingContext = threadingContext; _undoManager = undoManager; _renameService = renameService; _globalOptions = globalOptions; }
public RenameTrackingTaggerProvider( ITextUndoHistoryRegistry undoHistoryRegistry, IWaitIndicator waitIndicator, IInlineRenameService inlineRenameService, IDiagnosticAnalyzerService diagnosticAnalyzerService, [ImportMany] IEnumerable <IRefactorNotifyService> refactorNotifyServices, IAsynchronousOperationListenerProvider listenerProvider) { _undoHistoryRegistry = undoHistoryRegistry; _waitIndicator = waitIndicator; _inlineRenameService = inlineRenameService; _refactorNotifyServices = refactorNotifyServices; _diagnosticAnalyzerService = diagnosticAnalyzerService; _asyncListener = listenerProvider.GetListener(FeatureAttribute.RenameTracking); }
public AsyncCompletionService( IEditorOperationsFactoryService editorOperationsFactoryService, ITextUndoHistoryRegistry undoHistoryRegistry, IInlineRenameService inlineRenameService, IIntelliSensePresenter <ICompletionPresenterSession, ICompletionSession> completionPresenter, IEnumerable <Lazy <IAsynchronousOperationListener, FeatureMetadata> > asyncListeners, IEnumerable <Lazy <IBraceCompletionSessionProvider, BraceCompletionMetadata> > autoBraceCompletionChars) { _editorOperationsFactoryService = editorOperationsFactoryService; _undoHistoryRegistry = undoHistoryRegistry; _inlineRenameService = inlineRenameService; _completionPresenter = completionPresenter; _asyncListeners = asyncListeners; _autoBraceCompletionChars = autoBraceCompletionChars; _autoBraceCompletionCharSet = new Dictionary <IContentType, ImmutableHashSet <char> >(); }
public StateMachine( IThreadingContext threadingContext, ITextBuffer buffer, IInlineRenameService inlineRenameService, IDiagnosticAnalyzerService diagnosticAnalyzerService, IGlobalOptionService globalOptions, IAsynchronousOperationListener asyncListener) { ThreadingContext = threadingContext; _buffer = buffer; _buffer.Changed += Buffer_Changed; _inlineRenameService = inlineRenameService; _asyncListener = asyncListener; _diagnosticAnalyzerService = diagnosticAnalyzerService; GlobalOptions = globalOptions; }
public ExtractMethodCommandHandler( IThreadingContext threadingContext, ITextBufferUndoManagerProvider undoManager, IInlineRenameService renameService, IGlobalOptionService globalOptions, IAsynchronousOperationListenerProvider asyncListenerProvider) { Contract.ThrowIfNull(threadingContext); Contract.ThrowIfNull(undoManager); Contract.ThrowIfNull(renameService); _threadingContext = threadingContext; _undoManager = undoManager; _renameService = renameService; _globalOptions = globalOptions; _asyncListener = asyncListenerProvider.GetListener(FeatureAttribute.ExtractMethod); }
public AsyncCompletionService( IEditorOperationsFactoryService editorOperationsFactoryService, ITextUndoHistoryRegistry undoHistoryRegistry, IInlineRenameService inlineRenameService, IAsynchronousOperationListenerProvider listenerProvider, [ImportMany] IEnumerable <Lazy <IIntelliSensePresenter <ICompletionPresenterSession, ICompletionSession>, OrderableMetadata> > completionPresenters, [ImportMany] IEnumerable <Lazy <IBraceCompletionSessionProvider, BraceCompletionMetadata> > autoBraceCompletionChars) { _editorOperationsFactoryService = editorOperationsFactoryService; _undoHistoryRegistry = undoHistoryRegistry; _inlineRenameService = inlineRenameService; _completionPresenter = ExtensionOrderer.Order(completionPresenters).Select(lazy => lazy.Value).FirstOrDefault(); _listener = listenerProvider.GetListener(FeatureAttribute.CompletionSet); _autoBraceCompletionChars = autoBraceCompletionChars; _autoBraceCompletionCharSet = new Dictionary <IContentType, ImmutableHashSet <char> >(); }
public AsyncCompletionService( IEditorOperationsFactoryService editorOperationsFactoryService, ITextUndoHistoryRegistry undoHistoryRegistry, IInlineRenameService inlineRenameService, IIntelliSensePresenter<ICompletionPresenterSession, ICompletionSession> completionPresenter, IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners, IEnumerable<Lazy<ICompletionProvider, OrderableLanguageMetadata>> allCompletionProviders, IEnumerable<Lazy<IBraceCompletionSessionProvider, IBraceCompletionMetadata>> autoBraceCompletionChars) { _editorOperationsFactoryService = editorOperationsFactoryService; _undoHistoryRegistry = undoHistoryRegistry; _inlineRenameService = inlineRenameService; _completionPresenter = completionPresenter; _asyncListeners = asyncListeners; _allCompletionProviders = ExtensionOrderer.Order(allCompletionProviders); _autoBraceCompletionChars = autoBraceCompletionChars; _autoBraceCompletionCharSet = new Dictionary<IContentType, ImmutableHashSet<char>>(); }
public ExtractMethodCommandHandler( ITextBufferUndoManagerProvider undoManager, IInlineRenameService renameService) : base(undoManager, renameService) { }
public EditorLayerCodeActionHelpersService(IInlineRenameService renameService) { _renameService = renameService; }
public EditorLayerCodeActionHelpersService(IInlineRenameService renameService) => _renameService = renameService;