public static void Initialize(OleMenuCommandService commandService) { var sourceCode = CodeSourceSelectedProjects.CreateSource(); var sourceDocuments = DocumentsSourceSelectedProjects.CreateSource(); var sourceFile = FileSourceSelectedProjects.CreateSource(); var sourceFolder = FolderSourceSelectedProjects.CreateSource(); var sourceProject = ProjectSourceSelectedProjects.CreateSource(); InstanceCode = new CSharpProjectUpdatePluginAssemblyInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.CodeCSharpProjectUpdatePluginAssemblyInConnectionCommandId, sourceCode); InstanceDocuments = new CSharpProjectUpdatePluginAssemblyInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectUpdatePluginAssemblyInConnectionCommandId, sourceDocuments); InstanceFile = new CSharpProjectUpdatePluginAssemblyInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.FileCSharpProjectUpdatePluginAssemblyInConnectionCommandId, sourceFile); InstanceFolder = new CSharpProjectUpdatePluginAssemblyInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.FolderCSharpProjectUpdatePluginAssemblyInConnectionCommandId, sourceFolder); InstanceProject = new CSharpProjectUpdatePluginAssemblyInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.ProjectUpdatePluginAssemblyInConnectionCommandId, sourceProject); }
public static void Initialize(OleMenuCommandService commandService) { var sourceCode = CodeSourceSelectedProjects.CreateSource(); var sourceDocuments = DocumentsSourceSelectedProjects.CreateSource(); var sourceFile = FileSourceSelectedProjects.CreateSource(); var sourceFolder = FolderSourceSelectedProjects.CreateSource(); var sourceProject = ProjectSourceSelectedProjects.CreateSource(); InstanceCode = new CSharpProjectCompareTypesToCrmPluginAssemblyCommand(commandService, PackageIds.guidCommandSet.CodeCSharpProjectCompareTypesToCrmPluginAssemblyCommandId, sourceCode, Properties.CommandNames.CodeCSharpProjectCompareTypesToCrmPluginAssemblyCommand); InstanceDocuments = new CSharpProjectCompareTypesToCrmPluginAssemblyCommand(commandService, PackageIds.guidCommandSet.DocumentsCSharpProjectCompareTypesToCrmPluginAssemblyCommandId, sourceDocuments, Properties.CommandNames.DocumentsCSharpProjectCompareTypesToCrmPluginAssemblyCommand); InstanceFile = new CSharpProjectCompareTypesToCrmPluginAssemblyCommand(commandService, PackageIds.guidCommandSet.FileCSharpProjectCompareTypesToCrmPluginAssemblyCommandId, sourceFile, Properties.CommandNames.FileCSharpProjectCompareTypesToCrmPluginAssemblyCommand); InstanceFolder = new CSharpProjectCompareTypesToCrmPluginAssemblyCommand(commandService, PackageIds.guidCommandSet.FolderCSharpProjectCompareTypesToCrmPluginAssemblyCommandId, sourceFolder, Properties.CommandNames.FolderCSharpProjectCompareTypesToCrmPluginAssemblyCommand); InstanceProject = new CSharpProjectCompareTypesToCrmPluginAssemblyCommand(commandService, PackageIds.guidCommandSet.ProjectCompareTypesToCrmPluginAssemblyCommandId, sourceProject, Properties.CommandNames.ProjectCompareTypesToCrmPluginAssemblyCommand); }
public static void Initialize(OleMenuCommandService commandService) { var sourceCode = CodeSourceSelectedProjects.CreateSource(); var sourceDocuments = DocumentsSourceSelectedProjects.CreateSource(); var sourceFile = FileSourceSelectedProjects.CreateSource(); var sourceFolder = FolderSourceSelectedProjects.CreateSource(); var sourceProject = ProjectSourceSelectedProjects.CreateSource(); InstanceCodeEntityDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginAssemblyCreateEntityDescriptionInConnectionCommandId , sourceCode , ActionOnComponent.EntityDescription ); InstanceCodeDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginAssemblyCreateDescriptionInConnectionCommandId , sourceCode , ActionOnComponent.Description ); InstanceDocumentsEntityDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginAssemblyCreateEntityDescriptionInConnectionCommandId , sourceDocuments , ActionOnComponent.EntityDescription ); InstanceDocumentsDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginAssemblyCreateDescriptionInConnectionCommandId , sourceDocuments , ActionOnComponent.Description ); InstanceFileEntityDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginAssemblyCreateEntityDescriptionInConnectionCommandId , sourceFile , ActionOnComponent.EntityDescription ); InstanceFileDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginAssemblyCreateDescriptionInConnectionCommandId , sourceFile , ActionOnComponent.Description ); InstanceFolderEntityDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginAssemblyCreateEntityDescriptionInConnectionCommandId , sourceFolder , ActionOnComponent.EntityDescription ); InstanceFolderDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginAssemblyCreateDescriptionInConnectionCommandId , sourceFolder , ActionOnComponent.Description ); InstanceProjectEntityDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.ProjectPluginAssemblyCreateEntityDescriptionInConnectionCommandId , sourceProject , ActionOnComponent.EntityDescription ); InstanceProjectDescription = new CSharpProjectPluginAssemblyActionOnComponentInConnectionWithoutCurrentCommand( commandService , PackageIds.guidDynamicCommandSet.ProjectPluginAssemblyCreateDescriptionInConnectionCommandId , sourceProject , ActionOnComponent.Description ); }
public static void Initialize(OleMenuCommandService commandService) { var sourceCode = CodeSourceSelectedProjects.CreateSource(); var sourceDocuments = DocumentsSourceSelectedProjects.CreateSource(); var sourceFile = FileSourceSelectedProjects.CreateSource(); var sourceFolder = FolderSourceSelectedProjects.CreateSource(); var sourceProject = ProjectSourceSelectedProjects.CreateSource(); InstanceCodeOpenDependentComponentsInWebInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginAssemblyOpenDependentInWebInConnectionCommandId , sourceCode , ActionOnComponent.OpenDependentComponentsInWeb ); InstanceCodeOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginAssemblyOpenDependentInExplorerInConnectionCommandId , sourceCode , ActionOnComponent.OpenDependentComponentsInExplorer ); InstanceCodeOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginAssemblyOpenSolutionsListWithComponentInExplorerInConnectionCommandId , sourceCode , ActionOnComponent.OpenSolutionsListWithComponentInExplorer ); InstanceDocumentsOpenDependentComponentsInWebInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginAssemblyOpenDependentInWebInConnectionCommandId , sourceDocuments , ActionOnComponent.OpenDependentComponentsInWeb ); InstanceDocumentsOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginAssemblyOpenDependentInExplorerInConnectionCommandId , sourceDocuments , ActionOnComponent.OpenDependentComponentsInExplorer ); InstanceDocumentsOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginAssemblyOpenSolutionsListWithComponentInExplorerInConnectionCommandId , sourceDocuments , ActionOnComponent.OpenSolutionsListWithComponentInExplorer ); InstanceFileOpenDependentComponentsInWebInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginAssemblyOpenDependentInWebInConnectionCommandId , sourceFile , ActionOnComponent.OpenDependentComponentsInWeb ); InstanceFileOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginAssemblyOpenDependentInExplorerInConnectionCommandId , sourceFile , ActionOnComponent.OpenDependentComponentsInExplorer ); InstanceFileOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginAssemblyOpenSolutionsListWithComponentInExplorerInConnectionCommandId , sourceFile , ActionOnComponent.OpenSolutionsListWithComponentInExplorer ); InstanceFolderOpenDependentComponentsInWebInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginAssemblyOpenDependentInWebInConnectionCommandId , sourceFolder , ActionOnComponent.OpenDependentComponentsInWeb ); InstanceFolderOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginAssemblyOpenDependentInExplorerInConnectionCommandId , sourceFolder , ActionOnComponent.OpenDependentComponentsInExplorer ); InstanceFolderOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginAssemblyOpenSolutionsListWithComponentInExplorerInConnectionCommandId , sourceFolder , ActionOnComponent.OpenSolutionsListWithComponentInExplorer ); InstanceProjectOpenDependentComponentsInWebInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.ProjectPluginAssemblyOpenDependentInWebInConnectionCommandId , sourceProject , ActionOnComponent.OpenDependentComponentsInWeb ); InstanceProjectOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.ProjectPluginAssemblyOpenDependentInExplorerInConnectionCommandId , sourceProject , ActionOnComponent.OpenDependentComponentsInExplorer ); InstanceProjectOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginAssemblyActionOnComponentInConnectionCommand( commandService , PackageIds.guidDynamicCommandSet.ProjectPluginAssemblyOpenSolutionsListWithComponentInExplorerInConnectionCommandId , sourceProject , ActionOnComponent.OpenSolutionsListWithComponentInExplorer ); }