C# Class GoogleCloudExtension.Utils.StatusbarHelper

This class contains helpers to manage the status bar for the Visual Studio shell.
ファイルを表示 Open project: GoogleCloudPlatform/google-cloud-visualstudio

Private Properties

Property Type Description
HideDeployAnimation void
UnFreeze void

Public Methods

Method Description
Freeze ( ) : IDisposable

Freezes the status bar, which prevents updates from other parts of the VS shell.

SetText ( string text ) : void

Change the text in the status bar. If the status bar is frozen no change is made.

ShowDeployAnimation ( ) : IDisposable

Shows an animation to show that a deploy action is being executed. This animation will only show if VS is showing all of the visual effects. The result of the method should stored in a variable in a using statement.

ShowProgressBar ( string label ) : ProgressBarHelper

Shows the progress bar indicator in the Visual Studio shell.

Private Methods

Method Description
HideDeployAnimation ( ) : void
UnFreeze ( ) : void

Method Details

Freeze() public static method

Freezes the status bar, which prevents updates from other parts of the VS shell.
public static Freeze ( ) : IDisposable
return IDisposable

SetText() public static method

Change the text in the status bar. If the status bar is frozen no change is made.
public static SetText ( string text ) : void
text string The text to display.
return void

ShowDeployAnimation() public static method

Shows an animation to show that a deploy action is being executed. This animation will only show if VS is showing all of the visual effects. The result of the method should stored in a variable in a using statement.
public static ShowDeployAnimation ( ) : IDisposable
return IDisposable

ShowProgressBar() public static method

Shows the progress bar indicator in the Visual Studio shell.
public static ShowProgressBar ( string label ) : ProgressBarHelper
label string The label to use for the progress indicator.
return ProgressBarHelper