/// <summary> /// Initializes a new instance of an object. /// </summary> /// <param name="copyFrom">Object to copy state from.</param> /// <exception cref="System.ArgumentNullException"><paramref name="copyFrom">copyFrom</paramref> is null.</exception> public Location(Location copyFrom) { if (copyFrom == null) throw new System.ArgumentNullException("copyFrom"); else copyFrom.CopyTo(this); }