private void MethodInvoked(object sender, LoggerEventArgs e) { Console.WriteLine(e.ToString()); }
protected virtual void OnLogger(string name, Position pos) { var e = new LoggerEventArgs(name, pos); LoggerEvent?.Invoke(this, e); }