Mercurial > servermonitor
comparison ServerMonitor/Objects/Checks/Check.cs @ 39:7645122aa7a9
Get it working under Mono
author | Brad Greco <brad@bgreco.net> |
---|---|
date | Tue, 09 Jun 2020 20:59:00 -0400 |
parents | 7626b099aefd |
children |
comparison
equal
deleted
inserted
replaced
38:8ab98a803d39 | 39:7645122aa7a9 |
---|---|
13 /// The integer values of the "completed" statuses (Success, Information, | 13 /// The integer values of the "completed" statuses (Success, Information, |
14 /// Warning, Error) are in ascending order of severity. | 14 /// Warning, Error) are in ascending order of severity. |
15 /// </remarks> | 15 /// </remarks> |
16 public enum CheckStatus | 16 public enum CheckStatus |
17 { | 17 { |
18 Success, | 18 Success = 0, |
19 Information, | 19 Information = 1, |
20 Warning, | 20 Warning = 2, |
21 Error, | 21 Error = 3, |
22 Running, | 22 Running = 4, |
23 Disabled, | 23 Disabled = 5, |
24 } | 24 } |
25 | 25 |
26 /// <summary>Base class for checks that run against a server and return a result status.</summary> | 26 /// <summary>Base class for checks that run against a server and return a result status.</summary> |
27 public abstract class Check | 27 public abstract class Check |
28 { | 28 { |