view ServerMonitor/Attributes.cs @ 14:2db36ab759de

Add comments.
author Brad Greco <brad@bgreco.net>
date Mon, 22 Apr 2019 21:10:42 -0400
parents 3e1a2131f897
children 68d7834dc28e
line wrap: on
line source

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ServerMonitorApp
{
    internal class CheckTypeAttribute : Attribute
    {
        public Type CheckType { get; private set; }

        public CheckTypeAttribute(Type checkType) { CheckType = checkType; }
    }

    internal class DisplayWeightAttribute : Attribute
    {
        public int DisplayWeight { get; private set; }
        
        public DisplayWeightAttribute(int displayWeight) { DisplayWeight = displayWeight; }
    }
}