本文整理汇总了C#中IWaitIndicator类的典型用法代码示例。如果您正苦于以下问题:C# IWaitIndicator类的具体用法?C# IWaitIndicator怎么用?C# IWaitIndicator使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
IWaitIndicator类属于命名空间,在下文中一共展示了IWaitIndicator类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: NavigationBarController
public NavigationBarController(
INavigationBarPresenter presenter,
ITextBuffer subjectBuffer,
IWaitIndicator waitIndicator,
IAsynchronousOperationListener asyncListener)
{
_presenter = presenter;
_subjectBuffer = subjectBuffer;
_waitIndicator = waitIndicator;
_asyncListener = asyncListener;
_workspaceRegistration = Workspace.GetWorkspaceRegistration(subjectBuffer.AsTextContainer());
_workspaceRegistration.WorkspaceChanged += OnWorkspaceRegistrationChanged;
presenter.CaretMoved += OnCaretMoved;
presenter.ViewFocused += OnViewFocused;
presenter.DropDownFocused += OnDropDownFocused;
presenter.ItemSelected += OnItemSelected;
subjectBuffer.PostChanged += OnSubjectBufferPostChanged;
// Initialize the tasks to be an empty model so we never have to deal with a null case.
_modelTask = Task.FromResult(
new NavigationBarModel(
SpecializedCollections.EmptyList<NavigationBarItem>(),
default(VersionStamp),
null));
_selectedItemInfoTask = Task.FromResult(new NavigationBarSelectedTypeAndMember(null, null));
if (_workspaceRegistration.Workspace != null)
{
ConnectToWorkspace(_workspaceRegistration.Workspace);
}
}
示例2: InteractiveWindowProvider
public InteractiveWindowProvider(
IContentTypeRegistryService contentTypeRegistry,
ITextBufferFactoryService bufferFactory,
IProjectionBufferFactoryService projectionBufferFactory,
IEditorOperationsFactoryService editorOperationsFactory,
ITextBufferUndoManagerProvider textBufferUndoManagerProvider,
ITextEditorFactoryService editorFactory,
IRtfBuilderService rtfBuilderService,
IIntellisenseSessionStackMapService intellisenseSessionStackMap,
ISmartIndentationService smartIndenterService,
IInteractiveWindowEditorFactoryService windowFactoryService,
IWaitIndicator waitIndicator)
{
_contentTypeRegistry = contentTypeRegistry;
_bufferFactory = bufferFactory;
_projectionBufferFactory = projectionBufferFactory;
_editorOperationsFactory = editorOperationsFactory;
_textBufferUndoManagerProvider = textBufferUndoManagerProvider;
_editorFactory = editorFactory;
_rtfBuilderService = rtfBuilderService;
_intellisenseSessionStackMap = intellisenseSessionStackMap;
_smartIndenterService = smartIndenterService;
_windowFactoryService = windowFactoryService;
_waitIndicator = waitIndicator;
}
示例3: NavigationBarControllerFactoryService
public NavigationBarControllerFactoryService(
IWaitIndicator waitIndicator,
[ImportMany] IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners)
{
_waitIndicator = waitIndicator;
_asyncListener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.NavigationBar);
}
示例4: FixMultipleOccurrencesService
public FixMultipleOccurrencesService(
ICodeActionEditHandlerService editHandler,
IWaitIndicator waitIndicator)
{
_editHandler = editHandler;
_waitIndicator = waitIndicator;
}
示例5: TextStructureNavigatorProvider
internal TextStructureNavigatorProvider(
ITextStructureNavigatorSelectorService selectorService,
IContentTypeRegistryService contentTypeService,
IWaitIndicator waitIndicator)
: base(selectorService, contentTypeService, waitIndicator)
{
}
示例6: AutomaticLineEnderCommandHandler
public AutomaticLineEnderCommandHandler(
IWaitIndicator waitIndicator,
ITextUndoHistoryRegistry undoRegistry,
IEditorOperationsFactoryService editorOperations)
: base(waitIndicator, undoRegistry, editorOperations)
{
}
示例7: CSharpRenameTrackingCodeFixProvider
public CSharpRenameTrackingCodeFixProvider(
IWaitIndicator waitIndicator,
ITextUndoHistoryRegistry undoHistoryRegistry,
[ImportMany] IEnumerable<IRefactorNotifyService> refactorNotifyServices)
: base(waitIndicator, undoHistoryRegistry, refactorNotifyServices)
{
}
示例8: SuggestedActionWithPreview
public SuggestedActionWithPreview(
Workspace workspace, ITextBuffer subjectBuffer, ICodeActionEditHandlerService editHandler,
IWaitIndicator waitIndicator, CodeAction codeAction, object provider,
IAsynchronousOperationListener operationListener)
: base(workspace, subjectBuffer, editHandler, waitIndicator, codeAction,
provider, operationListener, actionSets: null)
{
}
示例9: ExtractMethodCommandHandler
public ExtractMethodCommandHandler(
ITextBufferUndoManagerProvider undoManager,
IEditorOperationsFactoryService editorOperationsFactoryService,
IInlineRenameService renameService,
IWaitIndicator waitIndicator) :
base(undoManager, editorOperationsFactoryService, renameService, waitIndicator)
{
}
示例10: RenameCommandHandler
public RenameCommandHandler(
InlineRenameService renameService,
IEditorOperationsFactoryService editorOperationsFactoryService,
IWaitIndicator waitIndicator)
{
_renameService = renameService;
_editorOperationsFactoryService = editorOperationsFactoryService;
_waitIndicator = waitIndicator;
}
示例11: AbstractEditorFactory
protected AbstractEditorFactory(Package package)
{
_package = package ?? throw new ArgumentNullException(nameof(package));
_componentModel = (IComponentModel)ServiceProvider.GetService(typeof(SComponentModel));
_editorAdaptersFactoryService = _componentModel.GetService<IVsEditorAdaptersFactoryService>();
_contentTypeRegistryService = _componentModel.GetService<IContentTypeRegistryService>();
_waitIndicator = _componentModel.GetService<IWaitIndicator>();
}
示例12: FixMultipleOccurrencesService
public FixMultipleOccurrencesService(
ICodeActionEditHandlerService editHandler,
IWaitIndicator waitIndicator,
[ImportMany] IEnumerable<Lazy<IAsynchronousOperationListener, FeatureMetadata>> asyncListeners)
{
_editHandler = editHandler;
_waitIndicator = waitIndicator;
_listener = new AggregateAsynchronousOperationListener(asyncListeners, FeatureAttribute.LightBulb);
}
示例13: SuggestedActionWithFlavors
protected SuggestedActionWithFlavors(
Workspace workspace,
ITextBuffer subjectBuffer,
ICodeActionEditHandlerService editHandler,
IWaitIndicator waitIndicator,
CodeAction codeAction,
object provider) : base(workspace, subjectBuffer, editHandler, waitIndicator, codeAction, provider)
{
}
示例14: AbstractRenameTrackingCodeFixProvider
protected AbstractRenameTrackingCodeFixProvider(
IWaitIndicator waitIndicator,
ITextUndoHistoryRegistry undoHistoryRegistry,
IEnumerable<IRefactorNotifyService> refactorNotifyServices)
{
_waitIndicator = waitIndicator;
_undoHistoryRegistry = undoHistoryRegistry;
_refactorNotifyServices = refactorNotifyServices;
}
示例15: PreviewChangesSuggestedAction
internal PreviewChangesSuggestedAction(
Workspace workspace,
ITextBuffer subjectBuffer,
ICodeActionEditHandlerService editHandler,
IWaitIndicator waitIndicator,
PreviewChangesCodeAction codeAction,
object provider)
: base(workspace, subjectBuffer, editHandler, waitIndicator, codeAction, provider)
{
}