示例#1
0
文件: Logger.cs 项目: abatar1/Week5
 private void MethodInvoked(object sender, LoggerEventArgs e)
 {
     Console.WriteLine(e.ToString());
 }
示例#2
0
        protected virtual void OnLogger(string name, Position pos)
        {
            var e = new LoggerEventArgs(name, pos);

            LoggerEvent?.Invoke(this, e);
        }