Beispiel #1
0
        public virtual void AddPoint(Location point)
        {
            if (point == null)
            {
                throw new ArgumentNullException(nameof(point));
            }

            this.points.Add(point);
        }
Beispiel #2
0
 public virtual void AddPoint(Location point)
 {
     if (point == null) throw new ArgumentNullException("point");
     points.Add(point);
 }