Mercurial > servermonitor
comparison 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 |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:3e1a2131f897 |
---|---|
1 using System; | |
2 using System.Collections.Generic; | |
3 using System.Linq; | |
4 using System.Text; | |
5 | |
6 namespace ServerMonitorApp | |
7 { | |
8 internal class CheckTypeAttribute : Attribute | |
9 { | |
10 public Type CheckType { get; private set; } | |
11 | |
12 public CheckTypeAttribute(Type checkType) { CheckType = checkType; } | |
13 } | |
14 | |
15 internal class DisplayWeightAttribute : Attribute | |
16 { | |
17 public int DisplayWeight { get; private set; } | |
18 | |
19 public DisplayWeightAttribute(int displayWeight) { DisplayWeight = displayWeight; } | |
20 } | |
21 } |