Пример #1
0
        public NuGetCommandTarget(ModuleGlobals globals)
        {
            this.Globals = globals;

            this.OpenNuGetGalleryCommand = this.Globals.CommandManager.AddCommand(
                this,
                NuGetCommands.OpenNuGetGalleryCommandId,
                Resources.GalleryCommandName,
                Resources.GalleryCommandTooltip,
                Resources.nuget_32.ConvertToImageSource(),
                Resources.nuget_32.ConvertToImageSource());
        }
        public NuGetCommandTarget(ModuleGlobals globals)
        {
            this.Globals = globals;

            this.OpenNuGetGalleryCommand = this.Globals.CommandManager.AddCommand(
                this,
                NuGetCommands.OpenNuGetGalleryCommandId,
                Resources.GalleryCommandName,
                Resources.GalleryCommandTooltip,
                Resources.nuget_32.ConvertToImageSource(),
                Resources.nuget_32.ConvertToImageSource());
        }