view ServerMonitor/Attributes.cs @ 0:3e1a2131f897

Initial commit. Ping check, scheduling, UI working. SSH check mostly working.
author Brad Greco <brad@bgreco.net>
date Mon, 31 Dec 2018 18:32:14 -0500
parents
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; }
    }
}