Mercurial > servermonitor
view ServerMonitor/Attributes.cs @ 15:23f2e0da1094
- Fix the last execution status being lost after a check is edited.
- Add comments.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Mon, 22 Apr 2019 21:11:27 -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; } } }