Beispiel #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());
        }
Beispiel #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);
 }