public override bool Equals(object obj) { if (ReferenceEquals(this, obj)) { return(true); } MonitorKey that = obj as MonitorKey; if (ReferenceEquals(that, null)) { return(false); } if (!Name.Equals(that.Name)) { return(false); } if (!Properties.Equals(that.Properties)) { return(false); } return(true); }
public void Inc(MonitorKey key) { //NOP }
public void Add(MonitorKey key, double value) { //NOP }
public StopWatch Start(MonitorKey key) { return(new StopWatch().Start()); }
public Counter(MonitorKey key) { Key = key; Reset(); }