[mapguide-users] Maestro 5.0b, EnumHelper doesn't support ResourceTypes.DrawingSource?

carls carlshe at 163.com
Mon Nov 5 05:41:11 PST 2012


EnumHelper contains predefined ResourceTypeNames, 

              * private static string[] ResourceTypeNames = new string[]
		{
			"MapDefinition", //NOXLATE
			"LayerDefinition", //NOXLATE
			"FeatureSource", //NOXLATE
			"WebLayout", //NOXLATE
			"Map", //NOXLATE
			string.Empty, //NOXLATE
			"ApplicationDefinition", //NOXLATE
		};*

which is not consistant with ResourceTypes.

        *public enum ResourceTypes
	{
        /// <summary>
        /// Map Definition
        /// </summary>
		MapDefinition,
        /// <summary>
        /// Layer Definition
        /// </summary>
		LayerDefinition,
        /// <summary>
        /// Feature Source
        /// </summary>
		FeatureSource,
        /// <summary>
        /// Web Layout
        /// </summary>
		WebLayout,
        /// <summary>
        /// Runtime Map
        /// </summary>
		RuntimeMap,
        /// <summary>
        /// Folder
        /// </summary>
		Folder,
        /// <summary>
        /// Fusion Flexible Layout
        /// </summary>
		ApplicationDefinition,
        /// <summary>
        /// Print Layout
        /// </summary>
        PrintLayout,
        /// <summary>
        /// Symbol Definition
        /// </summary>
        SymbolDefinition,
        /// <summary>
        /// Load Procedure
        /// </summary>
        LoadProcedure,
        /// <summary>
        /// Drawing Source
        /// </summary>
        DrawingSource,
        /// <summary>
        /// DWF-based Symbol Library
        /// </summary>
        SymbolLibrary,
        /// <summary>
        /// A watermark
        /// </summary>
        WatermarkDefinition,
	}*


While I am creating a ResourceIdentity for a DrawingSource, an error is
popup.

Is it a bug or a special consideration?

Thanks!



--
View this message in context: http://osgeo-org.1560.n6.nabble.com/Maestro-5-0b-EnumHelper-doesn-t-support-ResourceTypes-DrawingSource-tp5014008.html
Sent from the MapGuide Users mailing list archive at Nabble.com.


More information about the mapguide-users mailing list