C# 클래스 EditorConfig.VisualStudio.Integration.Commands.BaseCommand

The base implementation of a command.
상속: Microsoft.VisualStudio.Shell.OleMenuCommand
파일 보기 프로젝트 열기: editorconfig/editorconfig-visualstudio

보호된 메소드들

메소드 설명
BaseCommand ( EditorConfigPackage package, CommandID id ) : System

Initializes a new instance of the BaseCommand class.

OnBeforeQueryStatus ( ) : void

Called to update the current status of the command.

OnExecute ( ) : void

Called to execute the command.

비공개 메소드들

메소드 설명
BaseCommand_BeforeQueryStatus ( object sender, EventArgs e ) : void

Handles the BeforeQueryStatus event of the BaseCommand control.

BaseCommand_Execute ( object sender, EventArgs e ) : void

Handles the Execute event of the BaseCommand control.

메소드 상세

BaseCommand() 보호된 메소드

Initializes a new instance of the BaseCommand class.
protected BaseCommand ( EditorConfigPackage package, CommandID id ) : System
package EditorConfigPackage The hosting package.
id System.ComponentModel.Design.CommandID The id for the command.
리턴 System

OnBeforeQueryStatus() 보호된 메소드

Called to update the current status of the command.
protected OnBeforeQueryStatus ( ) : void
리턴 void

OnExecute() 보호된 추상적인 메소드

Called to execute the command.
protected abstract OnExecute ( ) : void
리턴 void