예제 #1
0
        /// <summary>
        /// Turns trace into human-readeable text
        /// </summary>
        /// <returns>String containing trace explanation</returns>
        public string Explain()
        {
            var explainer = new TraceExplainer();

            explainer.ExplainTrace(this);
            return(explainer.ToString());
        }
예제 #2
0
 /// <summary>
 /// Turns trace into human-readeable text using specified trace explainer
 /// </summary>
 /// <param name="explainer">Trace explainer</param>
 /// <returns></returns>
 public void Explain(TraceExplainer explainer)
 {
     explainer.ExplainTrace(this);
 }