Ejemplo n.º 1
0
        /// <summary>
        /// Initializes a new instance of the <see cref="GridReferenceSystem" /> class.
        /// </summary>
        /// <param name="identifier">The identifier.</param>
        /// <param name="name">The name.</param>
        /// <param name="remarks">The remarks.</param>
        /// <param name="aliases">The aliases.</param>
        /// <param name="scope">The scope.</param>
        /// <param name="coordinateSystem">The coordinate system.</param>
        /// <param name="datum">The datum.</param>
        /// <param name="areaOfUse">The area of use.</param>
        /// <param name="projection">The projection.</param>
        /// <exception cref="System.ArgumentNullException">
        /// The identifier is null.
        /// or
        /// The coordinate system is null.
        /// or
        /// The projection is null.
        /// </exception>
        public GridReferenceSystem(String identifier, String name, String remarks, String[] aliases, String scope, CoordinateSystem coordinateSystem, Datum datum, AreaOfUse areaOfUse, GridProjection projection)
            : base(identifier, name, remarks, aliases, scope, coordinateSystem, datum, areaOfUse)
        {
            if (projection == null)
            {
                throw new ArgumentNullException("projection", "The projection is null.");
            }

            _projection = projection;
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GridReferenceSystem" /> class.
 /// </summary>
 /// <param name="identifier">The identifier.</param>
 /// <param name="name">The name.</param>
 /// <param name="coordinateSystem">The coordinate system.</param>
 /// <param name="datum">The datum.</param>
 /// <param name="areaOfUse">The area of use.</param>
 /// <param name="projection">The projection.</param>
 /// <exception cref="System.ArgumentNullException">
 /// The identifier is null.
 /// or
 /// The coordinate system is null.
 /// or
 /// The projection is null.
 /// </exception>
 public GridReferenceSystem(String identifier, String name, CoordinateSystem coordinateSystem, Datum datum, AreaOfUse areaOfUse, GridProjection projection)
     : this(identifier, name, null, null, null, coordinateSystem, datum, areaOfUse, projection)
 {
 }