Метод | Описание | |
---|---|---|
InvalidateCommandsState ( ) : void |
Updates the UI state of all commands in the VS shell. This is useful when the state that determines if a command is enabled/disabled (or visible/invisiable) changes and the commands in the menus need to be updated. In essence this method will cause the OnBeforeQueryStatus method in all commands to be called again.
|
|
IsBuilding ( ) : bool |
Returns whether the shell is in the buliding state. This will happen if the user is building the app.
|
|
IsBusy ( ) : bool |
Returns true if the shell is in a busy state.
|
|
IsDebugging ( ) : bool |
Returns whether the shell is in the debugger state. This will happen if the user is debugging an app.
|
|
SetShellUIBusy ( ) : IDisposable |
Changes the UI state to a busy state. The pattern to use this method is to assign the result value to a variable in a using statement.
|
Метод | Описание | |
---|---|---|
GetMonitorSelectionService ( ) : IVsMonitorSelection | ||
GetUIContext ( IVsMonitorSelection monitorSelection, System.Guid contextGuid ) : bool | ||
SetShellNormal ( ) : void | ||
SetUIContext ( IVsMonitorSelection monitorSelection, System.Guid contextGuid, bool value ) : void |
public static InvalidateCommandsState ( ) : void | ||
Результат | void |
public static SetShellUIBusy ( ) : IDisposable | ||
Результат | IDisposable |