C# Class Azure.ApiManagement.IngestTool.StartApimImportWizardCommand

Command handler
Afficher le fichier Open project: bradygaster/Azure.ApiManagement.IngestTool Class Usage Examples

Méthodes publiques

Свойство Type Description
CommandSet System.Guid

Private Properties

Свойство Type Description
FindPublishProfiles ProjectItem
GetDomainNameFromPubXml string
GetProjectFromHierarchy Project
GetSelectedProject Project
MenuItemCallback void
MenuItem_BeforeQueryStatus void
StartApimImportWizardCommand System

Méthodes publiques

Méthode Description
Initialize ( Microsoft.VisualStudio.Shell.Package package ) : void

Initializes the singleton instance of the command.

Private Methods

Méthode Description
FindPublishProfiles ( ProjectItem projectItem ) : ProjectItem
GetDomainNameFromPubXml ( string filename ) : string
GetProjectFromHierarchy ( IVsHierarchy hierarchy ) : Project
GetSelectedProject ( IServiceProvider provider ) : Project
MenuItemCallback ( 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.

MenuItem_BeforeQueryStatus ( object sender, EventArgs e ) : void
StartApimImportWizardCommand ( Microsoft.VisualStudio.Shell.Package package ) : System

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

Method Details

Initialize() public static méthode

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.
Résultat void

Property Details

CommandSet public_oe static_oe property

Command menu group (command set GUID).
public static Guid,System CommandSet
Résultat System.Guid