internal static CDiscoveredConfig Deserialize(string str)
        {
            CDiscoveredConfig result = new CDiscoveredConfig();

            if (str.Length > 0 && str != "{}")
            {
                result.Attributes = CDiscoveredAttributes.Deserialize(str);
                result.Metrics    = CDiscoveredMetrics.Deserialize(str);
            }
            return(result);
        }
 internal void Merge(CDiscoveredConfig newconfig)
 {
     this.Attributes.Merge(newconfig.Attributes);
     this.Metrics.Merge(newconfig.Metrics);
 }
 public void Increment(int type, int subtype, CDiscoveredConfig oc)
 {
     Increment(type, subtype, oc.Metrics.Get(type, subtype));
 }