public int GetObjectUID() { switch (MetricType) { case ObjectMetricType.Managed: return(m_CachedSnapshot.ManagedObjectIndexToUnifiedObjectIndex(ObjectIndex)); case ObjectMetricType.Native: return(m_CachedSnapshot.NativeObjectIndexToUnifiedObjectIndex(ObjectIndex)); default: return(-1); } }
int IMetricValue.GetObjectUID() { return(m_Snapshot.NativeObjectIndexToUnifiedObjectIndex(m_ObjectIndex)); }