Mercurial > servermonitor
diff 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 diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/ServerMonitor/Attributes.cs Mon Dec 31 18:32:14 2018 -0500 @@ -0,0 +1,21 @@ +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; } + } +}