Exemplo n.º 1
0
 /// <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;
     }
 }
Exemplo n.º 2
0
 /// <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);
 }