Index: src/Common/GeoAPI/CoordinateSystems/ProjectionParameter.cs =================================================================== diff -u -r8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9 -r5fc71a385897af92ccb092f2f969b5709afab85a --- src/Common/GeoAPI/CoordinateSystems/ProjectionParameter.cs (.../ProjectionParameter.cs) (revision 8f6ae890fed8e8eae3a32f9c0498a10f82e0ddf9) +++ src/Common/GeoAPI/CoordinateSystems/ProjectionParameter.cs (.../ProjectionParameter.cs) (revision 5fc71a385897af92ccb092f2f969b5709afab85a) @@ -20,77 +20,64 @@ namespace GeoAPI.CoordinateSystems { - /// - /// A named projection parameter value. - /// - /// - /// The linear units of parameters' values match the linear units of the containing - /// projected coordinate system. The angular units of parameter values match the - /// angular units of the geographic coordinate system that the projected coordinate - /// system is based on. (Notice that this is different from , - /// where the units are always meters and degrees.) - /// - public class ProjectionParameter - { - /// - /// Initializes an instance of a ProjectionParameter - /// - /// Name of parameter - /// Parameter value - public ProjectionParameter(string name, double value) - { - _Name = name; - _Value = value; - } + /// + /// A named projection parameter value. + /// + /// + /// The linear units of parameters' values match the linear units of the containing + /// projected coordinate system. The angular units of parameter values match the + /// angular units of the geographic coordinate system that the projected coordinate + /// system is based on. (Notice that this is different from , + /// where the units are always meters and degrees.) + /// + public class ProjectionParameter + { + /// + /// Initializes an instance of a ProjectionParameter + /// + /// Name of parameter + /// Parameter value + public ProjectionParameter(string name, double value) + { + Name = name; + Value = value; + } - private string _Name; + /// + /// Parameter name. + /// + public string Name { get; set; } - /// - /// Parameter name. - /// - public string Name - { - get { return _Name; } - set { _Name = value; } - } + /// + /// Parameter value. + /// The linear units of a parameters' values match the linear units of the containing + /// projected coordinate system. The angular units of parameter values match the + /// angular units of the geographic coordinate system that the projected coordinate + /// system is based on. + /// + public double Value { get; set; } - private double _Value; + /// + /// Returns the Well-known text for this object + /// as defined in the simple features specification. + /// + public string WKT + { + get + { + return String.Format(CultureInfo.InvariantCulture.NumberFormat, "PARAMETER[\"{0}\", {1}]", Name, Value); + } + } - /// - /// Parameter value. - /// The linear units of a parameters' values match the linear units of the containing - /// projected coordinate system. The angular units of parameter values match the - /// angular units of the geographic coordinate system that the projected coordinate - /// system is based on. - /// - public double Value - { - get { return _Value; } - set { _Value = value; } - } - - - /// - /// Returns the Well-known text for this object - /// as defined in the simple features specification. - /// - public string WKT - { - get - { - return String.Format(CultureInfo.InvariantCulture.NumberFormat, "PARAMETER[\"{0}\", {1}]", Name, Value); - } - } - - /// - /// Gets an XML representation of this object - /// - public string XML - { - get - { + /// + /// Gets an XML representation of this object + /// + public string XML + { + get + { return String.Format(CultureInfo.InvariantCulture.NumberFormat, "", Name, Value); - } - } - } -} + } + } + } +} \ No newline at end of file