Mercurial > servermonitor
diff ServerMonitor/Attributes.cs @ 17:68d7834dc28e
More comments.
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Sat, 25 May 2019 15:14:26 -0400 |
parents | 3e1a2131f897 |
children |
line wrap: on
line diff
--- a/ServerMonitor/Attributes.cs Tue Apr 30 20:40:58 2019 -0400 +++ b/ServerMonitor/Attributes.cs Sat May 25 15:14:26 2019 -0400 @@ -1,10 +1,11 @@ using System; -using System.Collections.Generic; -using System.Linq; -using System.Text; namespace ServerMonitorApp { + /// <summary> + /// Attribute for use by check controls to indicate + /// the type of check they correspond to. + /// </summary> internal class CheckTypeAttribute : Attribute { public Type CheckType { get; private set; } @@ -12,6 +13,10 @@ public CheckTypeAttribute(Type checkType) { CheckType = checkType; } } + /// <summary> + /// Attribute for use by checks to determine the order + /// they appear in the check type selection combo box. + /// </summary> internal class DisplayWeightAttribute : Attribute { public int DisplayWeight { get; private set; }