private void AddNewSystem(SystemPosition ps) { if (ps == null) { throw new ArgumentNullException("ps"); } var starSystem = new StarSystem { CreatedAt = DateTime.Now, Name = ps.Name }; NetLogWatcherEventArgs args = new NetLogWatcherEventArgs(); args.CurrentSystem = starSystem; OnNewPosition(this, args); }
private void AddNewSystem(SystemPosition ps) { if (ps == null) throw new ArgumentNullException("ps"); var starSystem = new StarSystem { CreatedAt = DateTime.Now, Name = ps.Name }; NetLogWatcherEventArgs args = new NetLogWatcherEventArgs(); args.CurrentSystem = starSystem; OnNewPosition(this, args); }
internal void NewPosition(object source, NetLogWatcherEventArgs args) { }