コード例 #1
0
        public string GetContext()
        {
            string context = TxtBuffer.ToString();

            TxtBuffer.Clear();
            return(context);
        }
コード例 #2
0
        public void AddErrorContext(string msg)
        {
            if (TxtBuffer.Length != 0)
            {
                TxtBuffer.AppendLine();
            }

            TxtBuffer.Append(msg);
        }