C# 클래스 GoogleCloudExtension.PublishDialog.PublishProjectMainMenuCommand

This class implements the command handler for the menu item shown under "Tools > Google Cloud Tools".
파일 보기 프로젝트 열기: GoogleCloudPlatform/google-cloud-visualstudio 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
CommandSet System.Guid

Private Properties

프로퍼티 타입 설명
OnBeforeQueryStatus void
OnDeployCommand void
PublishProjectMainMenuCommand GoogleCloudExtension.SolutionUtils

공개 메소드들

메소드 설명
Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void

Initializes the singleton instance of the command.

비공개 메소드들

메소드 설명
OnBeforeQueryStatus ( object sender, EventArgs e ) : void
OnDeployCommand ( 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.

PublishProjectMainMenuCommand ( Microsoft.VisualStudio.Shell.Package package ) : GoogleCloudExtension.SolutionUtils

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

메소드 상세

Initialize() 공개 정적인 메소드

Initializes the singleton instance of the command.
public static Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void
package Microsoft.VisualStudio.Shell.Package Owner package, not null.
리턴 void

프로퍼티 상세

CommandSet 공개적으로 정적으로 프로퍼티

Command menu group (command set GUID).
public static Guid,System CommandSet
리턴 System.Guid