public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptUpdateContentIncludeReferencesPublishCommand
                );

            InstanceFile = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptUpdateContentIncludeReferencesPublishCommand
                );

            InstanceFolder = new JavaScriptUpdateContentIncludeReferencesPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FolderJavaScriptUpdateContentIncludeReferencesPublishCommandId
                , sourceFolder
                , Properties.CommandNames.FolderJavaScriptUpdateContentIncludeReferencesPublishCommand
                );
        }
Ejemplo n.º 2
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceCode
                );

            InstanceDocuments = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceDocuments
                );

            InstanceFile = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceFile
                );

            InstanceFolder = new WebResourceCreateEntityDescriptionInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceCreateEntityDescriptionInConnectionCommandId
                , sourceFolder
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceFileOrdinal = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeOrdinalCommandId, sourceFile, _typesOrdinal, false);
            InstanceFileChanges = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeWithChangesCommandId, sourceFile, _typesChanges, false);
            InstanceFileMirror  = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeWithMirrorCommandId, sourceFile, _typesMirror, false);

            InstanceFolderOrdinal = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeOrdinalCommandId, sourceFolder, _typesOrdinal, false);
            InstanceFolderChanges = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeWithChangesCommandId, sourceFolder, _typesChanges, false);
            InstanceFolderMirror  = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeWithMirrorCommandId, sourceFolder, _typesMirror, false);



            InstanceInTextEditorDocumentsOrdinal = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceOpenFilesByTypeInTextEditorOrdinalCommandId, sourceDocuments, _typesOrdinal, true);
            InstanceInTextEditorDocumentsChanges = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceOpenFilesByTypeInTextEditorWithChangesCommandId, sourceDocuments, _typesChanges, true);
            InstanceInTextEditorDocumentsMirror  = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceOpenFilesByTypeInTextEditorWithMirrorCommandId, sourceDocuments, _typesMirror, true);

            InstanceInTextEditorFileOrdinal = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeInTextEditorOrdinalCommandId, sourceFile, _typesOrdinal, true);
            InstanceInTextEditorFileChanges = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeInTextEditorWithChangesCommandId, sourceFile, _typesChanges, true);
            InstanceInTextEditorFileMirror  = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceOpenFilesByTypeInTextEditorWithMirrorCommandId, sourceFile, _typesMirror, true);

            InstanceInTextEditorFolderOrdinal = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeInTextEditorOrdinalCommandId, sourceFolder, _typesOrdinal, true);
            InstanceInTextEditorFolderChanges = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeInTextEditorWithChangesCommandId, sourceFolder, _typesChanges, true);
            InstanceInTextEditorFolderMirror  = new WebResourceOpenFilesByTypeCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceOpenFilesByTypeInTextEditorWithMirrorCommandId, sourceFolder, _typesMirror, true);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.CodeWebResourceUpdateContentPublishCommandId
                , sourceCode
                , Properties.CommandNames.CodeWebResourceUpdateContentPublishCommand
                );

            InstanceFile = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FileWebResourceUpdateContentPublishCommandId
                , sourceFile
                , Properties.CommandNames.FileWebResourceUpdateContentPublishCommand
                );

            InstanceFolder = new WebResourceUpdateContentPublishCommand(
                commandService
                , PackageIds.guidCommandSet.FolderWebResourceUpdateContentPublishCommandId
                , sourceFolder
                , Properties.CommandNames.FolderWebResourceUpdateContentPublishCommand
                );
        }
Ejemplo n.º 5
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            InstanceCommon = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CommonOpenWebResourcesInSolutionLastSelectedCommandId, null, false);

            InstanceCommonInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CommonOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, null, true);


            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceCode, false);

            InstanceDocuments = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceDocuments, false);

            InstanceFile = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceFile, false);

            InstanceFolder = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderWebResourceOpenWebResourcesInSolutionLastSelectedCommandId, sourceFolder, false);



            InstanceCodeInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceCode, true);

            InstanceDocumentsInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceDocuments, true);

            InstanceFileInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceFile, true);

            InstanceFolderInTextEditor = new OpenWebResourcesInSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderWebResourceOpenWebResourcesInSolutionLastSelectedInTextEditorCommandId, sourceFolder, true);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceCode
                );

            InstanceFile = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceFile
                );

            InstanceFolder = new JavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderJavaScriptUpdateContentIncludeReferencesPublishInConnectionGroupCommandId
                , sourceFolder
                );
        }
Ejemplo n.º 7
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceFile = new CSharpCheckEncodingOpenFilesCommand(commandService, PackageIds.guidCommandSet.FileCSharpCheckEncodingOpenFilesCommandId, sourceFile);

            InstanceFolder = new CSharpCheckEncodingOpenFilesCommand(commandService, PackageIds.guidCommandSet.FolderCSharpCheckEncodingOpenFilesCommandId, sourceFolder);
        }
Ejemplo n.º 8
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            InstanceCode = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.CodeReportLinkClearCommandId, sourceCode);

            InstanceDocuments = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.DocumentsReportLinkClearCommandId, sourceDocuments);

            InstanceFile = new ReportLinkClearCommand(commandService, PackageIds.guidCommandSet.FileReportLinkClearCommandId, sourceFile);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new JavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsJavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommandId, sourceDocuments);

            InstanceFile = new JavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommandId, sourceFile);

            InstanceFolder = new JavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderJavaScriptUpdateEqualByTextContentIncludeReferencesPublishInConnectionGroupCommandId, sourceFolder);
        }
Ejemplo n.º 10
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            InstanceCode = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.CodeReportAddToSolutionInConnectionCommandId, sourceCode);

            InstanceDocuments = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsReportAddToSolutionInConnectionCommandId, sourceDocuments);

            InstanceFile = new ReportAddToSolutionInConnectionCommand(commandService, PackageIds.guidDynamicCommandSet.FileReportAddToSolutionInConnectionCommandId, sourceFile);
        }
Ejemplo n.º 11
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new WebResourceUpdateContentPublishEqualByTextInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsWebResourceUpdateContentPublishEqualByTextInConnectionGroupCommandId, sourceDocuments);

            InstanceFile = new WebResourceUpdateContentPublishEqualByTextInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileWebResourceUpdateContentPublishEqualByTextInConnectionGroupCommandId, sourceFile);

            InstanceFolder = new WebResourceUpdateContentPublishEqualByTextInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderWebResourceUpdateContentPublishEqualByTextInConnectionGroupCommandId, sourceFolder);
        }
Ejemplo n.º 12
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new JavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsJavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommandId, sourceDocuments);

            InstanceFile = new JavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileJavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommandId, sourceFile);

            InstanceFolder = new JavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderJavaScriptLinkedGlobalOptionSetAddToSolutionLastSelectedCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new WebResourceShowDependentComponentsCommand(commandService, PackageIds.guidCommandSet.DocumentsWebResourceShowDependentComponentsCommandId, sourceDocuments);

            InstanceFile = new WebResourceShowDependentComponentsCommand(commandService, PackageIds.guidCommandSet.FileWebResourceShowDependentComponentsCommandId, sourceFile);

            InstanceFolder = new WebResourceShowDependentComponentsCommand(commandService, PackageIds.guidCommandSet.FolderWebResourceShowDependentComponentsCommandId, sourceFolder);
        }
Ejemplo n.º 14
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new WebResourceCheckEncodingCommand(commandService, PackageIds.guidCommandSet.CodeWebResourceCheckEncodingCommandId, sourceCode);

            InstanceDocuments = new WebResourceCheckEncodingCommand(commandService, PackageIds.guidCommandSet.DocumentsWebResourceCheckEncodingCommandId, sourceDocuments);

            InstanceFile = new WebResourceCheckEncodingCommand(commandService, PackageIds.guidCommandSet.FileWebResourceCheckEncodingCommandId, sourceFile);

            InstanceFolder = new WebResourceCheckEncodingCommand(commandService, PackageIds.guidCommandSet.FolderWebResourceCheckEncodingCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.CodeJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceCode);

            InstanceDocuments = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceDocuments);

            InstanceFile = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.FileJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceFile);

            InstanceFolder = new JavaScriptUpdateGlobalOptionSetSingleFileCommand(commandService, PackageIds.guidDynamicCommandSet.FolderJavaScriptUpdateGlobalOptionSetSingleFileCommandId, sourceFolder);
        }
Ejemplo n.º 16
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.CodeCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceCode);

            InstanceDocuments = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.DocumentsCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceDocuments);

            InstanceFile = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FileCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceFile);

            InstanceFolder = new CSharpGlobalOptionSetsMetadataFileGenerationOptionsCommand(commandService, PackageIds.guidCommandSet.FolderCSharpGlobalOptionSetsMetadataFileGenerationOptionsCommandId, sourceFolder);
        }
Ejemplo n.º 17
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.CodeCSharpUpdateEntityMetadataFileSchemaCommandId, sourceCode);

            InstanceDocuments = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsCSharpUpdateEntityMetadataFileSchemaCommandId, sourceDocuments);

            InstanceFile = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.FileCSharpUpdateEntityMetadataFileSchemaCommandId, sourceFile);

            InstanceFolder = new CSharpUpdateEntityMetadataFileSchemaCommand(commandService, PackageIds.guidDynamicCommandSet.FolderCSharpUpdateEntityMetadataFileSchemaCommandId, sourceFolder);
        }
Ejemplo n.º 18
0
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.CodeJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceCode);

            InstanceDocuments = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceDocuments);

            InstanceFile = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceFile);

            InstanceFolder = new JavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderJavaScriptIncludeReferencesToDependencyXmlInConnectionGroupCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.CodeXmlCommonXsdSchemaRemoveCommandId, sourceCode);

            InstanceDocuments = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.DocumentsXmlCommonXsdSchemaRemoveCommandId, sourceDocuments);

            InstanceFile = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.FileXmlCommonXsdSchemaRemoveCommandId, sourceFile);

            InstanceFolder = new XmlCommonXsdSchemaRemoveCommand(commandService, PackageIds.guidCommandSet.FolderXmlCommonXsdSchemaRemoveCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.CodeCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceCode);

            InstanceDocuments = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.DocumentsCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceDocuments);

            InstanceFile = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FileCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceFile);

            InstanceFolder = new CSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommand(commandService, PackageIds.guidDynamicSolutionLastSelectedCommandSet.FolderCSharpProjectPluginTypeStepsAddToSolutionLastSelectedCommandId, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocumentsOrdinal = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceRemoveFilesFromListForPublishOrdinalCommandId, _typesOrdinal, sourceDocuments);
            InstanceDocumentsChanges = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceRemoveFilesFromListForPublishWithChangesCommandId, _typesChanges, sourceDocuments);
            InstanceDocumentsMirror  = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceRemoveFilesFromListForPublishWithMirrorCommandId, _typesMirror, sourceDocuments);

            InstanceFileOrdinal = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceRemoveFilesFromListForPublishOrdinalCommandId, _typesOrdinal, sourceFile);
            InstanceFileChanges = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceRemoveFilesFromListForPublishWithChangesCommandId, _typesChanges, sourceFile);
            InstanceFileMirror  = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceRemoveFilesFromListForPublishWithMirrorCommandId, _typesMirror, sourceFile);

            InstanceFolderOrdinal = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceRemoveFilesFromListForPublishOrdinalCommandId, _typesOrdinal, sourceFolder);
            InstanceFolderChanges = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceRemoveFilesFromListForPublishWithChangesCommandId, _typesChanges, sourceFolder);
            InstanceFolderMirror  = new WebResourceRemoveFilesFromListForPublishCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceRemoveFilesFromListForPublishWithMirrorCommandId, _typesMirror, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.DocumentsWebResourceCheckEncodingCompareFilesCommandId, sourceDocuments, false);

            InstanceFile = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.FileWebResourceCheckEncodingCompareFilesCommandId, sourceFile, false);

            InstanceFolder = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.FolderWebResourceCheckEncodingCompareFilesCommandId, sourceFolder, false);

            InstanceWithDetailsDocuments = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.DocumentsWebResourceCheckEncodingCompareWithDetailsFilesCommandId, sourceDocuments, true);

            InstanceWithDetailsFile = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.FileWebResourceCheckEncodingCompareWithDetailsFilesCommandId, sourceFile, true);

            InstanceWithDetailsFolder = new WebResourceCheckEncodingCompareFilesCommand(commandService, PackageIds.guidCommandSet.FolderWebResourceCheckEncodingCompareWithDetailsFilesCommandId, sourceFolder, true);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocumentsExistsOrHasLink = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceMultiDifferenceFilesExistsOrHasLinkCommandId, _typesExistsOrHasLink, sourceDocuments);
            InstanceDocumentsChanges         = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceMultiDifferenceFilesWithChangesCommandId, _typesChanges, sourceDocuments);
            InstanceDocumentsMirror          = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.DocumentsWebResourceMultiDifferenceFilesWithMirrorCommandId, _typesMirror, sourceDocuments);

            InstanceFileExistsOrHasLink = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceMultiDifferenceFilesExistsOrHasLinkCommandId, _typesExistsOrHasLink, sourceFile);
            InstanceFileChanges         = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceMultiDifferenceFilesWithChangesCommandId, _typesChanges, sourceFile);
            InstanceFileMirror          = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FileWebResourceMultiDifferenceFilesWithMirrorCommandId, _typesMirror, sourceFile);

            InstanceFolderExistsOrHasLink = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceMultiDifferenceFilesExistsOrHasLinkCommandId, _typesExistsOrHasLink, sourceFolder);
            InstanceFolderChanges         = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceMultiDifferenceFilesWithChangesCommandId, _typesChanges, sourceFolder);
            InstanceFolderMirror          = new WebResourceMultiDifferenceCommand(commandService, PackageIds.guidDynamicOpenFilesTypeCommandSet.FolderWebResourceMultiDifferenceFilesWithMirrorCommandId, _typesMirror, sourceFolder);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCode = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.CodeJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceCode
                , Properties.CommandNames.CodeJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceDocuments = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.DocumentsJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceDocuments
                , Properties.CommandNames.DocumentsJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceFile = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.FileJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceFile
                , Properties.CommandNames.FileJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );

            InstanceFolder = new JavaScriptIncludeReferencesToLinkedSystemFormCommand(
                commandService
                , PackageIds.guidCommandSet.FolderJavaScriptIncludeReferencesToLinkedSystemFormCommandId
                , sourceFolder
                , Properties.CommandNames.FolderJavaScriptIncludeReferencesToLinkedSystemFormCommand
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceDocuments = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsWebResourceCompareInConnectionGroupCommandId, sourceDocuments, false);

            InstanceFile = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileWebResourceCompareInConnectionGroupCommandId, sourceFile, false);

            InstanceFolder = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderWebResourceCompareInConnectionGroupCommandId, sourceFolder, false);

            InstanceWithDetailsCode = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.CodeWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceCode, true);

            InstanceWithDetailsDocuments = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.DocumentsWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceDocuments, true);

            InstanceWithDetailsFile = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FileWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceFile, true);

            InstanceWithDetailsFolder = new WebResourceCompareInConnectionGroupCommand(commandService, PackageIds.guidDynamicCommandSet.FolderWebResourceCompareWithDetailsInConnectionGroupCommandId, sourceFolder, true);
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceCodeOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceCodeOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceDocumentsOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceDocumentsOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceDocumentsOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceFileOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceFileOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceFileOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );



            InstanceOpenDependentComponentsInWebInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenDependentInWebInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceOpenDependentComponentsInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenDependentInExplorerInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenDependentComponentsInExplorer
                );

            InstanceOpenSolutionsListWithComponentInExplorerInConnection = new CSharpProjectPluginTypeActionOnComponentInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeOpenSolutionsListWithComponentInExplorerInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenSolutionsListWithComponentInExplorer
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceCode
                , ActionOnComponent.EntityDescription
                );

            InstanceCodeGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceCode
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceCodeDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceCode
                , ActionOnComponent.Description
                );



            InstanceDocumentsEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.EntityDescription
                );

            InstanceDocumentsGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceDocumentsDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.Description
                );



            InstanceFileEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceFile
                , ActionOnComponent.EntityDescription
                );

            InstanceFileGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceFile
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceFileDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceFile
                , ActionOnComponent.Description
                );



            InstanceFolderEntityDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeCreateEntityDescriptionInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.EntityDescription
                );

            InstanceFolderGetCustomWorkflowActivityInfo = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeGetCustomWorkflowActivityInfoInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.SingleXmlField
                , PluginType.Schema.Attributes.customworkflowactivityinfo
                , PluginType.Schema.Headers.customworkflowactivityinfo
                );

            InstanceFolderDescription = new CSharpProjectPluginTypeActionOnComponentInConnectionWithoutCurrentCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderCSharpProjectPluginTypeCreateDescriptionInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.Description
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeOpenInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceOpenInWebInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenInWeb
                );

            InstanceCodeOpenDependentComponentsInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceOpenDependentInWebInConnectionCommandId
                , sourceCode
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceDocumentsOpenInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceOpenInWebInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenInWeb
                );

            InstanceDocumentsOpenDependentComponentsInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceOpenDependentInWebInConnectionCommandId
                , sourceDocuments
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceFileOpenInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceOpenInWebInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenInWeb
                );

            InstanceFileOpenDependentComponentsInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceOpenDependentInWebInConnectionCommandId
                , sourceFile
                , ActionOnComponent.OpenDependentComponentsInWeb
                );

            InstanceFolderOpenInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceOpenInWebInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenInWeb
                );

            InstanceFolderOpenDependentComponentsInWebInConnection = new WebResourceOpenInWebInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceOpenDependentInWebInConnectionCommandId
                , sourceFolder
                , ActionOnComponent.OpenDependentComponentsInWeb
                );
        }
        public static void Initialize(OleMenuCommandService commandService)
        {
            var sourceCode = CodeSourceSelectedFiles.CreateSource();

            var sourceDocuments = DocumentsSourceSelectedFiles.CreateSource();

            var sourceFile = FileSourceSelectedFiles.CreateSource();

            var sourceFolder = FolderSourceSelectedFiles.CreateSource();

            InstanceCodeContentJson = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceGetAttributeContentJsonInConnectionCommandId
                , sourceCode
                , WebResource.Schema.Attributes.contentjson
                , WebResource.Schema.Headers.contentjson
                );

            InstanceCodeDependencyXml = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.CodeWebResourceGetAttributeDependencyXmlInConnectionCommandId
                , sourceCode
                , WebResource.Schema.Attributes.dependencyxml
                , WebResource.Schema.Headers.dependencyxml
                );

            InstanceDocumentsContentJson = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceGetAttributeContentJsonInConnectionCommandId
                , sourceDocuments
                , WebResource.Schema.Attributes.contentjson
                , WebResource.Schema.Headers.contentjson
                );

            InstanceDocumentsDependencyXml = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.DocumentsWebResourceGetAttributeDependencyXmlInConnectionCommandId
                , sourceDocuments
                , WebResource.Schema.Attributes.dependencyxml
                , WebResource.Schema.Headers.dependencyxml
                );

            InstanceFileContentJson = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceGetAttributeContentJsonInConnectionCommandId
                , sourceFile
                , WebResource.Schema.Attributes.contentjson
                , WebResource.Schema.Headers.contentjson
                );

            InstanceFileDependencyXml = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FileWebResourceGetAttributeDependencyXmlInConnectionCommandId
                , sourceFile
                , WebResource.Schema.Attributes.dependencyxml
                , WebResource.Schema.Headers.dependencyxml
                );

            InstanceFolderContentJson = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceGetAttributeContentJsonInConnectionCommandId
                , sourceFolder
                , WebResource.Schema.Attributes.contentjson
                , WebResource.Schema.Headers.contentjson
                );

            InstanceFolderDependencyXml = new WebResourceGetAttributeInConnectionCommand(
                commandService
                , PackageIds.guidDynamicCommandSet.FolderWebResourceGetAttributeDependencyXmlInConnectionCommandId
                , sourceFolder
                , WebResource.Schema.Attributes.dependencyxml
                , WebResource.Schema.Headers.dependencyxml
                );
        }