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

A command that provides for cleaning up code in the active document.
상속: BaseCommand
파일 보기 프로젝트 열기: editorconfig/editorconfig-visualstudio

Private Properties

프로퍼티 타입 설명
CleanupActiveCodeCommand System.ComponentModel.Design
GetCurrentTextBuffer ITextBuffer
OnBeforeDocumentSave void

보호된 메소드들

메소드 설명
OnBeforeQueryStatus ( ) : void

Called to update the current status of the command.

OnExecute ( ) : void

Called to execute the command.

비공개 메소드들

메소드 설명
CleanupActiveCodeCommand ( EditorConfigPackage package ) : System.ComponentModel.Design

Initializes a new instance of the CleanupActiveCodeCommand class.

GetCurrentTextBuffer ( ) : ITextBuffer
OnBeforeDocumentSave ( Document document, ITextBuffer textBuffer ) : void

Called before a document is saved in order to potentially run code cleanup.

메소드 상세

OnBeforeQueryStatus() 보호된 메소드

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

OnExecute() 보호된 메소드

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