C# (CSharp) GoogleCloudExtension.Utils Namespace

Classes

Name Description
ActivityLogUtils This utility class implements helpers to log to the activity log, which will help debug issues with the extension that only our customers can reproduce. The log is only written to if the /log parameter is passed to Visual Studio on startup, other than that writing to the log is a noop.
BooleanConverter General boolean converter, converting True or False to the desired values. Note: Only Convert is implemented, so this is not a bidirectional converter, do not use on TwoWay bindings.
CloudSqlInstanceConnection This class contains the basic information for a connection string to a Cloud SQL instance.
CloudSqlUtils
Disposable Simple class that runs the provided Action on dispose, useful when combined with using blocks.
ErrorHandlerUtils This class implements an event handler for the exceptions that escape the given Action.
GaeUtils
GcpOutputWindow This class contains helpers to manage and add lines of text to the GCP window.
JsonOutputException
LinkInfo
LocalizedCategoryAttribute
LocalizedDescriptionAttribute
LocalizedDisplayNameAttribute
PlaceholderMessage
PropertyWindowItemBase This class is to be used as the base of all of the items displayed in the Property Window in Visual Studio. This class implements enough of ICustomTypeDescriptor to provide the custom name, custom component and properties to the Property Window. The Properties Window will display the class name in normal text and the component name in bold.
ProtectedAction This class wraps an Action with the ErrorHandlerUtils.HandleExceptions(Action) method to correclty handle all exceptions that escape the action.
ProtectedCommand This class implements the ICommand interface and wraps the action for the command in ErrorHandlerUtils.HandleExceptions(Action) to handle the exceptions that could escape.
ResourceUtils This class contains helpers to access resources in the assembly.
SelectionUtils This class provides helpers to update the properties window, manage the currently selected "item".
ShellUtils This class contains utilities to manage the UI state of the Visual Studio shell.
StatusbarHelper This class contains helpers to manage the status bar for the Visual Studio shell.
UserPromptUtils This class provides helpers to show messages to the user in a uniform way.
ViewModelBase This class is to be used as the base class for all view models for the extension. Provies useful properties common to almost all view models (such as a loading state) as well as whether gcloud is installed or not.