/// <summary> /// Ensures that the provided object is used as the wrapped object. /// </summary> /// <param name="summary"></param> internal void SyncWrappedObject(Monitor.SessionSummary summary) { if (ReferenceEquals(summary, m_WrappedSummary) == false) { m_WrappedSummary = summary; } }
/// <summary> /// Create a new session summary as the live collection session for the current process /// </summary> /// <remarks>This constructor figures out all of the summary information when invoked, which can take a moment.</remarks> internal SessionSummary(Monitor.SessionSummary summary) { m_WrappedSummary = summary; m_Properties = new Dictionary <string, string>(summary.Properties); }