Index: DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryObject.cs
===================================================================
diff -u -r3893 -r4000
--- DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryObject.cs (.../GeometryObject.cs) (revision 3893)
+++ DamEngine/trunk/src/Deltares.DamEngine.Data/Geometry/GeometryObject.cs (.../GeometryObject.cs) (revision 4000)
@@ -32,24 +32,6 @@
{
private string name = "";
- ///
- /// Sets the name.
- ///
- /// The new name.
- public virtual void SetName(string newName)
- {
- name = newName; // TODO: Name is virtual. Is this really expected behavior?
- }
-
- ///
- /// Gets the geometry bounds.
- ///
- ///
- public virtual GeometryBounds GetGeometryBounds()
- {
- return null;
- }
-
#region IGeometryObject Members
///
@@ -66,13 +48,31 @@
}
set
{
- name = value;
+ name = value;
}
}
#endregion
///
+ /// Sets the name.
+ ///
+ /// The new name.
+ public virtual void SetName(string newName)
+ {
+ name = newName; // TODO: Name is virtual. Is this really expected behavior?
+ }
+
+ ///
+ /// Gets the geometry bounds.
+ ///
+ ///
+ public virtual GeometryBounds GetGeometryBounds()
+ {
+ return null;
+ }
+
+ ///
/// Returns a that represents this instance.
///
///