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, #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); }
internal EventHookupSessionManager(IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, IQuickInfoBroker quickInfoBroker) { _prematureDismissalPreventer = prematureDismissalPreventer; _quickInfoBroker = quickInfoBroker; }
internal EventHookupSessionManager(IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, IQuickInfoBroker quickInfoBroker) { _prematureDismissalPreventer = prematureDismissalPreventer; _quickInfoBroker = quickInfoBroker; }
internal EventHookupSessionManager(IThreadingContext threadingContext, IHACK_EventHookupDismissalOnBufferChangePreventerService prematureDismissalPreventer, IQuickInfoBroker quickInfoBroker) : base(threadingContext) { _prematureDismissalPreventer = prematureDismissalPreventer; _quickInfoBroker = quickInfoBroker; }