C# Class SonarLint.VisualStudio.Integration.Vsix.InfoBar.InfoBarManager

Inheritance: IInfoBarManager
Show file Open project: SonarSource-VisualStudio/sonarlint-visualstudio Class Usage Examples

Public Methods

Method Description
AttachInfoBar ( System.Guid toolwindowGuid, string message, string buttonText, ImageMoniker imageMoniker ) : IInfoBar

Private Methods

Method Description
CreateModel ( string message, string buttonText, ImageMoniker imageMoniker ) : InfoBarModel
DetachInfoBar ( IInfoBar currentInfoBar ) : void
GetToolWindowFrame ( IServiceProvider serviceProvider, System.Guid toolwindowGuid ) : IVsWindowFrame
InfoBarManager ( [ serviceProvider ) : Microsoft.VisualStudio
TryAddInfoBarToFrame ( IVsWindowFrame frame, IVsUIElement uiElement ) : bool
TryCreateInfoBarUI ( IServiceProvider serviceProvider, IVsInfoBar infoBar, IVsInfoBarUIElement &uiElement ) : bool
TryGetInfoBarHost ( IVsWindowFrame frame, IVsInfoBarHost &infoBarHost ) : bool

Method Details

AttachInfoBar() public method

public AttachInfoBar ( System.Guid toolwindowGuid, string message, string buttonText, ImageMoniker imageMoniker ) : IInfoBar
toolwindowGuid System.Guid
message string
buttonText string
imageMoniker ImageMoniker
return IInfoBar