Created
October 27, 2011 21:01
-
-
Save abarnas/1320863 to your computer and use it in GitHub Desktop.
MonitorDefinition
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
namespace MonitisTop | |
{ | |
public class MonitorDefinition | |
{ | |
private string metric; | |
private List<string> names; | |
private List<string> suffixes; | |
public string Metric { get { return metric; } set { metric = value; } } | |
public List<string> Names { get { return names; } set { names = value; } } | |
public List<string> Suffixes { get { return suffixes; } set { suffixes = value; } } | |
public MonitorDefinition(string _metric) | |
{ | |
metric = _metric; | |
names = new List<string>(); | |
suffixes = new List<string>(); | |
} | |
public void AddNamePair(string _name, string _suffix) | |
{ | |
names.Add(_name); | |
suffixes.Add(_suffix); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment