C# 클래스 Aurelia.DotNet.VSIX.Commands.GenerateAttribute

Command handler
파일 보기 프로젝트 열기: aurelia/dotnet 1 사용 예제들

Private Properties

프로퍼티 타입 설명
ExecuteAsync void
GenerateAttribute System
MenuItem_BeforeQueryStatus void

공개 메소드들

메소드 설명
InitializeAsync ( AsyncPackage package ) : System.Threading.Tasks.Task

Initializes the singleton instance of the command.

비공개 메소드들

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

This function is the callback used to execute the command when the menu item is clicked. See the constructor to see how the menu item is associated with this function using OleMenuCommandService service and MenuCommand class.

GenerateAttribute ( AsyncPackage package, OleMenuCommandService commandService, DTE2 dte ) : System

Initializes a new instance of the GenerateAttribute class. Adds our command handlers for menu (commands must exist in the command table file)

MenuItem_BeforeQueryStatus ( object sender, EventArgs e ) : void

메소드 상세

InitializeAsync() 공개 정적인 메소드

Initializes the singleton instance of the command.
public static InitializeAsync ( AsyncPackage package ) : System.Threading.Tasks.Task
package AsyncPackage Owner package, not null.
리턴 System.Threading.Tasks.Task