diff --git a/Source/DotSpatial.NTSExtension/FloatVector3.cs b/Source/DotSpatial.NTSExtension/FloatVector3.cs
index f14131fec..b3864135e 100644
--- a/Source/DotSpatial.NTSExtension/FloatVector3.cs
+++ b/Source/DotSpatial.NTSExtension/FloatVector3.cs
@@ -23,6 +23,9 @@
namespace DotSpatial.NTSExtension
{
+ ///
+ /// A float based 3 dimensional vector class, implementing all interesting features of vectors.
+ ///
public struct FloatVector3
{
#region Fields
diff --git a/Source/DotSpatial.Symbology/FeatureLayer.cs b/Source/DotSpatial.Symbology/FeatureLayer.cs
index 2ebcc9fe8..fd6341ea6 100644
--- a/Source/DotSpatial.Symbology/FeatureLayer.cs
+++ b/Source/DotSpatial.Symbology/FeatureLayer.cs
@@ -2156,6 +2156,10 @@ private void LabelSetupClick(object sender, EventArgs e)
#endregion
+ ///
+ /// Disposes the resources of the FeatureLayer.
+ ///
+ /// Indicates whether managed resources should be disposed too.
protected override void Dispose(bool disposeManagedResources)
{
if (disposeManagedResources)
diff --git a/Source/DotSpatial.Symbology/FeatureLayerExt.cs b/Source/DotSpatial.Symbology/FeatureLayerExt.cs
index 0fca7d507..87503ba88 100644
--- a/Source/DotSpatial.Symbology/FeatureLayerExt.cs
+++ b/Source/DotSpatial.Symbology/FeatureLayerExt.cs
@@ -22,14 +22,17 @@
namespace DotSpatial.Symbology
{
+ ///
+ /// Extension methods for DotSpatial.Symbology.IFeatureLayer.
+ ///
public static class FeatureLayerExt
{
#region Methods
///
- /// Inverts the selection
+ /// Inverts the selection.
///
- ///
+ /// IFeatureLayer whose selection is inverted.
public static void InvertSelection(this IFeatureLayer featureLayer)
{
Envelope ignoreMe;
diff --git a/Source/DotSpatial.Symbology/LabelCategory.cs b/Source/DotSpatial.Symbology/LabelCategory.cs
index 185116f00..f45fc9a3e 100644
--- a/Source/DotSpatial.Symbology/LabelCategory.cs
+++ b/Source/DotSpatial.Symbology/LabelCategory.cs
@@ -44,7 +44,7 @@ public class LabelCategory : ILabelCategory
private ILabelSymbolizer _symbolizer;
- private Expression _exp;
+ private readonly Expression _exp;
#endregion
@@ -94,6 +94,10 @@ public virtual LabelCategory Copy()
return result;
}
+ ///
+ /// Returns the categories name or "No Name" if the name is not set.
+ ///
+ /// The categories name or "No Name" if the name is not set.
public override string ToString()
{
return string.IsNullOrEmpty(Name) ? "" : Name;
@@ -114,14 +118,14 @@ public bool UpdateExpressionColumns(DataColumnCollection columns)
///
/// Datarow the expression gets calculated for.
/// Indicates whether the feature is selected.
- /// The FID of the feature, the expression gets calculated for.
+ /// The FID of the feature, the expression gets calculated for.
/// null if there was an error while parsing the expression, else the calculated expression
- public string CalculateExpression(DataRow row, bool selected, int FID)
+ public string CalculateExpression(DataRow row, bool selected, int fid)
{
string ff = (selected ? _selectionSymbolizer : _symbolizer).FloatingFormat;
_exp.FloatingFormat = ff != null ? ff.Trim() : "";
_exp.ParseExpression(_expression);
- return _exp.CalculateRowValue(row, FID);
+ return _exp.CalculateRowValue(row, fid);
}
#endregion
diff --git a/Source/DotSpatial.Symbology/Selection.cs b/Source/DotSpatial.Symbology/Selection.cs
index 088162d4d..2052c5c3b 100644
--- a/Source/DotSpatial.Symbology/Selection.cs
+++ b/Source/DotSpatial.Symbology/Selection.cs
@@ -22,12 +22,15 @@
namespace DotSpatial.Symbology
{
+ ///
+ /// Selection is used to remember all the selected features of the corresponding IFeatureSet.
+ ///
public class Selection : FeatureSelection
{
#region Constructors
///
- /// Creates a new instance of Selection
+ /// Creates a new instance of Selection.
///
public Selection(IFeatureSet fs, IDrawingFilter inFilter)
: base(fs, inFilter, FilterType.Selection)