/// <summary> /// Initializes a new instance of the <see cref="LocalGeodeticDatumCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="ellipsoidCollection">The ellipsoid collection.</param> /// <param name="meridianCollection">The meridian collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The ellipsoid collection is null. /// or /// The meridian collection is null. /// </exception> public LocalGeodeticDatumCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <Ellipsoid> ellipsoidCollection, IReferenceCollection <Meridian> meridianCollection) : base(ResourceName, ResourceName) { this.areaOfUseCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); this.ellipsoidCollection = ellipsoidCollection ?? throw new ArgumentNullException(nameof(ellipsoidCollection)); this.meridianCollection = meridianCollection ?? throw new ArgumentNullException(nameof(meridianCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalGeographicCoordinateReferenceSystemCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="coordinateSystemCollection">The coordinate system collection.</param> /// <param name="geodeticDatumCollection">The geodetic datum collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The coordinate system collection is null. /// or /// The datum collection is null. /// </exception> public LocalGeographicCoordinateReferenceSystemCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <CoordinateSystem> coordinateSystemCollection, IReferenceCollection <GeodeticDatum> geodeticDatumCollection) : base(ResourceName, AliasTypeName) { this.areaOfUseCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); this.coordinateSystemCollection = coordinateSystemCollection ?? throw new ArgumentNullException(nameof(coordinateSystemCollection)); this.geodeticDatumCollection = geodeticDatumCollection ?? throw new ArgumentNullException(nameof(geodeticDatumCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalVerticalCoordinateReferenceSystemCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="coordinateSystemCollection">The coordinate system collection.</param> /// <param name="verticalDatumCollection">The vertical datum collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The coordinate system collection is null. /// or /// The datum collection is null. /// </exception> public LocalVerticalCoordinateReferenceSystemCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <CoordinateSystem> coordinateSystemCollection, IReferenceCollection <VerticalDatum> verticalDatumCollection) : base(ResourceName, AliasTypeName) { this.areaOfUserCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); this.coordinateSystemCollection = coordinateSystemCollection ?? throw new ArgumentNullException(nameof(coordinateSystemCollection)); this.verticalDatumCollection = verticalDatumCollection ?? throw new ArgumentNullException(nameof(verticalDatumCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="CoordinateProjectionDataCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="methodCollection">The coordinate operation method collection.</param> /// <param name="parameterCollection">The coordinate operation parameter collection.</param> /// <param name="unitCollection">The unit of measurement collection.</param> public CoordinateProjectionDataCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <CoordinateOperationMethod> methodCollection, IReferenceCollection <CoordinateOperationParameter> parameterCollection, IReferenceCollection <UnitOfMeasurement> unitCollection) : base(ResourceName, AliasName) { this.areaOfUseCollection = areaOfUseCollection; this.methodCollection = methodCollection; this.parameterCollection = parameterCollection; this.unitCollection = unitCollection; }
/// <summary> /// Initializes a new instance of the <see cref="LocalProjectedCoordinateReferenceSystemCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="coordinateProjectionCollection">The coordinate projection collection.</param> /// <param name="coordinateSystemCollection">The coordinate system collection.</param> /// <param name="baseReferenceSystemCollection">The base reference system collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The coordinate projection collection is null. /// or /// The coordinate system collection is null. /// or /// The datum collection is null. /// or /// The base reference system collection is null. /// </exception> public LocalProjectedCoordinateReferenceSystemCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, ICoordinateProjectionCollection coordinateProjectionCollection, IReferenceCollection <CoordinateSystem> coordinateSystemCollection, IReferenceCollection <GeographicCoordinateReferenceSystem> baseReferenceSystemCollection) : base(ResourceName, AliasTypeName) { this.areaOfUseCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); this.coordinateProjectionCollection = coordinateProjectionCollection ?? throw new ArgumentNullException(nameof(coordinateProjectionCollection)); this.coordinateSystemCollection = coordinateSystemCollection ?? throw new ArgumentNullException(nameof(coordinateSystemCollection)); this.baseCoordinateReferenceSystemCollection = baseReferenceSystemCollection ?? throw new ArgumentNullException(nameof(baseReferenceSystemCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalCoordinateTransformationCollection{CoordinateType}" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="methodCollection">The coordinate operation method collection.</param> /// <param name="parameterCollection">The coordinate operation parameter collection.</param> /// <param name="referenceSystemCollection">The coordinate reference system collection.</param> /// <param name="unitCollection">The unit of measurement collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The coordinate operation method collection is null. /// or /// The coordinate operation parameter collection is null. /// or /// The reference system collection is null. /// or /// The unit of measurement collection is null. /// </exception> public LocalCoordinateTransformationCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <CoordinateOperationMethod> methodCollection, IReferenceCollection <CoordinateOperationParameter> parameterCollection, IReferenceCollection <CoordinateReferenceSystem> referenceSystemCollection, IReferenceCollection <UnitOfMeasurement> unitCollection) { if (areaOfUseCollection == null) { throw new ArgumentNullException(nameof(areaOfUseCollection)); } if (methodCollection == null) { throw new ArgumentNullException(nameof(methodCollection)); } if (parameterCollection == null) { throw new ArgumentNullException(nameof(parameterCollection)); } if (referenceSystemCollection == null) { throw new ArgumentNullException(nameof(referenceSystemCollection)); } this.dataCollection = new CoordinateTransformationDataCollection(areaOfUseCollection, methodCollection, parameterCollection, referenceSystemCollection, unitCollection); }
/// <summary> /// Initializes a new instance of the <see cref="LocalCoordinateProjectionCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="ellpsoidCollection">The ellipsoid collection.</param> /// <param name="methodCollection">The coordinate operation method collection.</param> /// <param name="parameterCollection">The coordinate operation parameter collection.</param> /// <param name="unitCollection">The unit of measurement collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The ellipsoid collection is null. /// or /// The coordinate operation method collection is null. /// or /// The coordinate operation parameter collection is null. /// or /// The unit of measurement collection is null. /// </exception> public LocalCoordinateProjectionCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <Ellipsoid> ellpsoidCollection, IReferenceCollection <CoordinateOperationMethod> methodCollection, IReferenceCollection <CoordinateOperationParameter> parameterCollection, IReferenceCollection <UnitOfMeasurement> unitCollection) { if (areaOfUseCollection == null) { throw new ArgumentNullException(nameof(areaOfUseCollection)); } if (methodCollection == null) { throw new ArgumentNullException(nameof(methodCollection)); } if (parameterCollection == null) { throw new ArgumentNullException(nameof(parameterCollection)); } if (unitCollection == null) { throw new ArgumentNullException(nameof(unitCollection)); } this.dataCollection = new CoordinateProjectionDataCollection(areaOfUseCollection, methodCollection, parameterCollection, unitCollection); this.ellipsoidCollection = ellpsoidCollection ?? throw new ArgumentNullException(nameof(ellpsoidCollection)); this.unitCollection = unitCollection; }
/// <summary> /// Initializes a new instance of the <see cref="LocalEllipsoidCollection" /> class. /// </summary> /// <param name="unitCollection">The unit of measurement collection.</param> /// <exception cref="System.ArgumentNullException">The unit of measurement collection is null.</exception> public LocalEllipsoidCollection(IReferenceCollection <UnitOfMeasurement> unitCollection) { this.unitCollection = unitCollection ?? throw new ArgumentNullException(nameof(unitCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalCompoundReferenceSystemCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <param name="referenceSystemCollection">The reference system collection.</param> /// <exception cref="System.ArgumentNullException"> /// The area of use collection is null. /// or /// The reference system collection is null. /// </exception> public LocalCompoundReferenceSystemCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection, IReferenceCollection <ReferenceSystem> referenceSystemCollection) : base(ResourceName, AliasTypeName) { this.areaOfUseCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); this.referenceSystemCollection = referenceSystemCollection ?? throw new ArgumentNullException(nameof(referenceSystemCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalVerticalDatumCollection" /> class. /// </summary> /// <param name="areaOfUseCollection">The area of use collection.</param> /// <exception cref="System.ArgumentNullException">The area of use collection is null.</exception> public LocalVerticalDatumCollection(IReferenceCollection <AreaOfUse> areaOfUseCollection) : base(ResourceName, ResourceName) { this.areaOfUseCollection = areaOfUseCollection ?? throw new ArgumentNullException(nameof(areaOfUseCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalReferenceSystemCollection" /> class. /// </summary> /// <param name="compoundCollection">The compound reference system collection.</param> /// <param name="coordinateCollection">The coordinate reference system collection.</param> public LocalReferenceSystemCollection(IReferenceCollection <CompoundReferenceSystem> compoundCollection, IReferenceCollection <CoordinateReferenceSystem> coordinateCollection) { this.compoundCollection = compoundCollection; this.coordinateCollection = coordinateCollection; }
/// <summary> /// Initializes a new instance of the <see cref="LocalCoordinateSystemCollection" /> class. /// </summary> /// <param name="axisCollection">The axis collection.</param> /// <param name="unitCollection">The unit of measurement collection.</param> /// <exception cref="System.ArgumentNullException"> /// The coordinate system axis collection is null. /// or /// The unit of measurement collection is null. /// </exception> public LocalCoordinateSystemCollection(ICoordinateSystemAxisCollection axisCollection, IReferenceCollection <UnitOfMeasurement> unitCollection) { this.axisCollection = axisCollection ?? throw new ArgumentNullException(nameof(axisCollection)); this.unitCollection = unitCollection ?? throw new ArgumentNullException(nameof(unitCollection)); }
/// <summary> /// Initializes a new instance of the <see cref="LocalCoordinateReferenceSystemCollection" /> class. /// </summary> /// <param name="geocentricCollection">The geocentric reference system collection.</param> /// <param name="geographicCollection">The geographic reference system collection.</param> /// <param name="projectedCollection">The projected reference system collection.</param> public LocalCoordinateReferenceSystemCollection(IReferenceCollection <GeocentricCoordinateReferenceSystem> geocentricCollection, IReferenceCollection <GeographicCoordinateReferenceSystem> geographicCollection, IReferenceCollection <ProjectedCoordinateReferenceSystem> projectedCollection) { this.geocentricCollection = geocentricCollection; this.geographicCollection = geographicCollection; this.projectedCollection = projectedCollection; }
/// <summary> /// Initializes a new instance of the <see cref="LocalMeridianCollection" /> class. /// </summary> /// <param name="unitCollection">The unit of measurement collection.</param> /// <exception cref="System.ArgumentNullException">The unit of measurement collection is null.</exception> public LocalMeridianCollection(IReferenceCollection <UnitOfMeasurement> unitCollection) : base(ResourceName, AliasName) { this.unitCollection = unitCollection ?? throw new ArgumentNullException(nameof(unitCollection)); }