[mapguide-commits] r5986 -
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Mon Jul 11 06:45:00 EDT 2011
Author: jng
Date: 2011-07-11 03:45:00 -0700 (Mon, 11 Jul 2011)
New Revision: 5986
Modified:
trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
Log:
#1746: Oops!
Modified: trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs
===================================================================
--- trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs 2011-07-11 07:05:26 UTC (rev 5985)
+++ trunk/Tools/Maestro/OSGeo.MapGuide.MaestroAPI/ObjectModels/VectorLayerDefinitionImpl.cs 2011-07-11 10:45:00 UTC (rev 5986)
@@ -336,7 +336,7 @@
//Put the new one in if it is not null
if (value != null)
{
- if (typeof(ICompositeTypeStyle2).IsAssignableFrom(value.GetType()))
+ if (!typeof(ICompositeTypeStyle2).IsAssignableFrom(value.GetType()))
throw new InvalidOperationException("Assigned value does not implement ICompositeTypeStyle2");
this.itemsField.Add(value);
More information about the mapguide-commits
mailing list