コード例 #1
0
ファイル: NuGetCommandTarget.cs プロジェクト: rikoe/nuget
        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());
        }
コード例 #2
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());
        }