File: NuGetCommands.cs

package info (click to toggle)
nuget 2.8.7%2Bmd510%2Bdhx1-1.1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 8,952 kB
  • sloc: cs: 86,650; xml: 1,297; makefile: 25; ansic: 9; sh: 6
file content (27 lines) | stat: -rw-r--r-- 832 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
using System;
using System.Diagnostics.CodeAnalysis;
using System.Runtime.InteropServices;
using Microsoft.WebMatrix.Core;

namespace NuGet.WebMatrix
{
    /// <summary>
    /// Commands for the NuGet Gallery
    /// </summary>
    public static class NuGetCommands
    {
        internal const string GroupIdString = "CFEE9892-CBBE-4E2E-BAE1-4F32385EA64D";

        public static readonly Guid GroupId = Guid.Parse(GroupIdString);

        [Guid(GroupIdString)]
        public enum Ids
        {
            None = 0,
            OpenNuGetGallery,
        }

        [SuppressMessage("Microsoft.Security", "CA2104:DoNotDeclareReadOnlyMutableReferenceTypes", Justification = "CommandId is immutable.")]
        public static readonly CommandId OpenNuGetGalleryCommandId = CommandId.CreateCommandId(Ids.OpenNuGetGallery);
    }
}