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

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