Namespace OSGeo.MapGuide.ObjectModels
Classes
BaseSerializable
The base class of all serializable resource types
BaseSerializableMapDefinition
The base class of all serializable map definition types
Check
Pre-condition verifier utility class
ExtensionMethods
Extension Methods
MemoryStreamPool
Provides System.IO.MemoryStream instances with pooled buffers to reduce heap fragmentation and GC pressure
ObjectFactory
Factory class to create MapGuide resource objects with either pre-defined or sensible default values. This is recommended over creating the objects directly as this ensures that there are no null child properties where the XML schema forbids it.
By default this class will only create known versions of any top-level resource (as of writing, up to MapGuide Open Source 2.6 / AIMS 2015). In order to be able to create newer versions where support has not yet been added to this library, you will need to register the appropriate methods that can create resources of this version:
- RegisterLayerFactoryMethod(Version, Func<LayerType, ILayerDefinition>) for Layer Definitions
This registration needs to be done as part of your application's startup/initialization phase.
ResourceContentVersionChecker
Inspects a resource content stream to determine the version of the resource content within
The stream to be inspected is copied and the inspection is made on the copy
ResourceExtensions
Extension method class
ResourceIdentifier
This class contains all the required code for maintaining resource identifiers. It has implicit conversions to and from a string, which makes it much easier to use. It has both static methods that operate on strings, as well as a class that can be manipulated.
ResourceSerializer
A resource serializer
ResourceTypeDescriptor
Represents a unique resource type / version pair
UntypedResource
Represents resource content that could not be deserialized into a corresponding strongly-typed resource class. This is just a container of arbitrary xml content.
XmlNamespaces
A set of XML namespaces commonly used in FDO XML documents
Structs
FontInfo
Font information
Interfaces
IResource
Represents a MapGuide Resource
IVersionedEntity
An entity with an attached version
Enums
ResourceTypes
Represents the common resource types in MapGuide