using Agebull.Common.DataModel;

namespace Agebull.CodeRefactor
{
    public class AnalyzerBase
    {
        private TraceMessage _messager;

        public TraceMessage Messager
        {
            set
            {
                this._messager = value;
            }
            get
            {
                return this._messager;
            }
        }
        /// <summary>
        /// ÏÔÊ¾ÏûÏ¢
        /// </summary>
        /// <param name="level">ÏûÏ¢µÈ¼¶</param>
        /// <param name="message">ÏûÏ¢</param>
        public void ShowMessage(int level, string message)
        {
            if (Messager != null)
                Messager.ShowMessage(level, message);
        }
    }
}