aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Web/Tango.MachineService/Views/_ViewStart.cshtml
blob: 2de62418c07c3ffa833543f484445dbfd0fe68d8 (plain)
1
2
3
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.PPC.Shared.Updates;

namespace Tango.PPC.Common.UpdatePackages
{
    [AttributeUsage(AttributeTargets.Class)]
    public class PPCPackageAttribute : Attribute
    {
        public String Name { get; set; }

        public PackageType Type { get; set; }

        public bool RequiresRestart { get; set; }

        public PPCPackageAttribute(PackageType type, String name, bool requiresRestart)
        {
            Type = type;
            Name = name;
            RequiresRestart = requiresRestart;
        }
    }
}