Index: Core/Components/src/Core.Components.Charting/Data/AreaData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.Charting/Data/AreaData.cs (.../AreaData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.Charting/Data/AreaData.cs (.../AreaData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; namespace Core.Components.Charting.Data { @@ -33,7 +32,7 @@ /// /// Creates a new instance of . /// - /// A of as (X,Y) points. + /// A of as (X,Y) points. /// Thrown when is null. public AreaData(IEnumerable> points) : base(points) {} } Index: Core/Components/src/Core.Components.Charting/Data/LineData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.Charting/Data/LineData.cs (.../LineData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.Charting/Data/LineData.cs (.../LineData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; namespace Core.Components.Charting.Data { @@ -33,7 +32,7 @@ /// /// Creates a new instance of . /// - /// A of as (X,Y) points. + /// A of as (X,Y) points. /// Thrown when is null. public LineData(IEnumerable> points) : base(points) {} } Index: Core/Components/src/Core.Components.Charting/Data/PointBasedChartData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.Charting/Data/PointBasedChartData.cs (.../PointBasedChartData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.Charting/Data/PointBasedChartData.cs (.../PointBasedChartData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; using System.Linq; namespace Core.Components.Charting.Data @@ -32,9 +31,9 @@ public abstract class PointBasedChartData : ChartData { /// - /// Creates a new instance of . + /// Creates a new instance of . /// - /// A of as (X,Y) points. + /// A of as (X,Y) points. /// Thrown when is null. protected PointBasedChartData(IEnumerable> points) { @@ -48,7 +47,7 @@ } /// - /// Gets or sets a value indicating whether the is visible. + /// Gets or sets a value indicating whether the is visible. /// public bool IsVisible { get; set; } Index: Core/Components/src/Core.Components.Charting/Data/PointData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.Charting/Data/PointData.cs (.../PointData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.Charting/Data/PointData.cs (.../PointData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; namespace Core.Components.Charting.Data { @@ -33,7 +32,7 @@ /// /// Creates a new instance of . /// - /// A of as (X,Y) points. + /// A of as (X,Y) points. /// Thrown when is null. public PointData(IEnumerable> points) : base(points) {} } Index: Core/Components/src/Core.Components.DotSpatial/Data/MapDataCollection.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.DotSpatial/Data/MapDataCollection.cs (.../MapDataCollection.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.DotSpatial/Data/MapDataCollection.cs (.../MapDataCollection.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -25,7 +25,7 @@ namespace Core.Components.DotSpatial.Data { /// - /// A collection of . + /// This class represents a collection of . /// public class MapDataCollection : MapData { Index: Core/Components/src/Core.Components.DotSpatial/Data/MapLineData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.DotSpatial/Data/MapLineData.cs (.../MapLineData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.DotSpatial/Data/MapLineData.cs (.../MapLineData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -24,8 +24,16 @@ namespace Core.Components.DotSpatial.Data { + /// + /// This class represents data in 2D space which is visible as a line. + /// public class MapLineData : PointBasedMapData { + /// + /// Creates a new instance of . + /// + /// A of as (X,Y) points. + /// Thrown when is null. public MapLineData(IEnumerable> points) : base(points) {} } } Index: Core/Components/src/Core.Components.DotSpatial/Data/MapPointData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.DotSpatial/Data/MapPointData.cs (.../MapPointData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.DotSpatial/Data/MapPointData.cs (.../MapPointData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,20 +21,18 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; -using System.Linq; namespace Core.Components.DotSpatial.Data { /// - /// A collection of points for the Map. + /// This class represents data in 2D space which is visible as points. /// public class MapPointData : PointBasedMapData { /// /// Create a new instance of . /// - /// A of as (X,Y) coordinates. + /// A of as (X,Y) coordinates. /// Thrown when is null. public MapPointData(IEnumerable> points) : base(points) {} } Index: Core/Components/src/Core.Components.DotSpatial/Data/MapPolygonData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.DotSpatial/Data/MapPolygonData.cs (.../MapPolygonData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.DotSpatial/Data/MapPolygonData.cs (.../MapPolygonData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -24,8 +24,16 @@ namespace Core.Components.DotSpatial.Data { + /// + /// This class represents data in 2D space which forms a closed area. + /// public class MapPolygonData : PointBasedMapData { + /// + /// Creates a new instance of . + /// + /// A of as (X,Y) points. + /// Thrown when is null. public MapPolygonData(IEnumerable> points) : base(points) {} } } Index: Core/Components/src/Core.Components.DotSpatial/Data/PointBasedMapData.cs =================================================================== diff -u -r4512af7782ee31b36941bb280b54d9da2953dd71 -r0696ce6625da3aa9b4b2df7f062caa7570a7675c --- Core/Components/src/Core.Components.DotSpatial/Data/PointBasedMapData.cs (.../PointBasedMapData.cs) (revision 4512af7782ee31b36941bb280b54d9da2953dd71) +++ Core/Components/src/Core.Components.DotSpatial/Data/PointBasedMapData.cs (.../PointBasedMapData.cs) (revision 0696ce6625da3aa9b4b2df7f062caa7570a7675c) @@ -21,7 +21,6 @@ using System; using System.Collections.Generic; -using System.Collections.ObjectModel; using System.Linq; namespace Core.Components.DotSpatial.Data @@ -32,9 +31,9 @@ public abstract class PointBasedMapData : MapData { /// - /// Create a new instance of . + /// Create a new instance of . /// - /// A of as (X,Y) coordinates. + /// A of as (X,Y) coordinates. /// Thrown when is null. protected PointBasedMapData(IEnumerable> points) { @@ -43,18 +42,17 @@ var message = String.Format("A point collection is required when creating a subclass of {0}.", typeof(PointBasedMapData)); throw new ArgumentNullException("points", message); } - Points = points.ToArray(); IsVisible = true; } /// - /// Gets or sets a value indicating whether the is visible. + /// Gets or sets a value indicating whether the is visible. /// public bool IsVisible { get; set; } /// - /// Gets to collection of points in 2D space. + /// Gets the collection of points in 2D space. /// public IEnumerable> Points { get; private set; } }