DotSpatial.Serialization
This exception will occur if an assembly referenced by a saved map layer could not be found.
Initializes a new instance of the AssemblyMissingException.
The string message to show as the error.
Initializes a new instance of the AssemblyMissingException.
The string message to show as the error.
The inner exception to send as part of this exception.
Initializes a new instance of the AssemblyMissingException.
The SerializationInfo that holds the information about the serialized object about the exception being thrown.
The StreamingContext that contains contextual information about the source or destination.
BaseCollection
Private storage for the inner list.
Adds an item to this base collection
A boolean that is true if this set contains the specified item
Copies the items from this collection to the specified array
The array to copy to
The zero based integer array index to start copying to
Removes the specified item from the collection
The item to remove from the collection
Boolean, true if the remove operation is successful.
Returns a type specific enumerator
Clears the list
After serialization, the inner list is directly set. This is uzed by the FeatureLayer, for instance,
to apply the new scheme.
Clears this collection
Occurs when items are inserted
Occurs after a new item has been inserted, and fires IncludeComplete
Fires after the remove operation, ensuring that OnExclude gets called
Fires before the set operation ensuring the new item is included if necessary
Fires after the set operation, ensuring that the item is removed
Occurs any time an item is added or inserted into the collection
and did not previously exist in the collection
Occurs after the item has been included either by set, insert, or addition.
Occurs any time an item is removed from the collection and no longer
exists anywhere in the collection
Includes the specified item. This should be called BEFORE an item
is added to the list.
Exclude should be called AFTER the item is successfully removed from the list.
This allows any handlers that connect to the item to be removed in the event
that the item is no longer anywhere in the list.
The item to be removed
Creates a new instance of BaseCollection
Gets or sets the inner list of T that actually controls the content for this BaseCollection.
False
Returns the count of the inner list
Defines a new kind of enumerator designed to make the CollectionBase cooperate with strong type collections
The enumerator type.
Creates the new enumerator
A non type specific enumerator
Does nothing
Moves to the next item in the collection
resets the enumerator
The current item
BaseList
Gets the integer index of the specified item.
The implementation of T to obtain the zero based integer index of.
An integer that is -1 if the item is not found, or the zero based index.
If the read-only property is false, then this inserts the item to the specified index.
The zero based integer index describing the target index for the item.
The implementation of T to insert into this index.
If ReadOnly is true, then this method will cause an exception
This happens after an item of type T was added to the list
This happens after a value has been updated in the list.
The index where the replacement took place.
The item that was removed from the position.
The new item that is replacing it in the list.
The happens after an item was removed from the specified index.
The index the item was removed from.
The item that was removed
Removes the item from the specified index
The zero based integer index
Gets or sets the value of type T at the specified index
The zero-base integer index marking the position of the item
The item
CloneableEM
The type parameter T is optional, so the intended use would be like:
ObjectType copy = myObject.Copy();
The type of the object
The original object
A new object of the same type as the type being copied.
Extent works like an envelope but is faster acting, has a minimum memory profile, only works in 2D and has no events.
Max X
Min X
Max Y
Min Y
Creates a new instance of Extent. This introduces no error checking and assumes
that the user knows what they are doing when working with this.
Creates a new extent from the specified ordinates
Given a long array of doubles, this builds an extent from a small part of that
xmin, ymin, xmax, ymax
XMin, YMin, XMax, YMax order
Produces a clone, rather than using this same object.
If this is undefined, it will have a min that is larger than the max.
Boolean, true if the envelope has not had values set for it yet.
A strongly-typed resource class, for looking up localized strings, etc.
Returns the cached ResourceManager instance used by this class.
Overrides the current thread's CurrentUICulture property for all
resource lookups using this strongly typed resource class.
Looks up a localized string similar to The collection cannot be altered because it is read only..
A class for parsing the components of the assembly qualified type name.
Reads in the full string, parsing out the separate elements. These are not always in the specified order,
and many times there are several optional elements. This class helps find the optional elements that are
necessary. This does not support mulitple enclosed types yet, like dictionaries or something. We needed
the single enclosed type for supporting the layer collection however.
The string qualified name.
Returns the full qualified type name as "TypeName, Assembly, Version=x, Culture=x, PublicKeyToken=x".
The string expression with the full type name.
Gets or sets the name for the enclosed type.
Gets or sets the TypeName
Gets or sets the name of the assembly
Gets or sets a System.Version for getting or setting the version.
Gets or sets the CultureInfo of the Culture
Gets or sets the public key token for the strong name of the assembly.
ReadOnlyException
Creates a new instance of ReadOnlyException
Obsolete
A set of utilities to automate some common reflection tasks.
Searches the entire folder tree beginning at the entry assembly path for types that derive from the specified type.
The base class/interface type
A list of all types found in the search.
Searches the entire folder tree beginning at the entry assembly path for types that derive from the specified type.
The base class/interface type.
A list of all types found in the search.
Base class for formatters responsible for converting objects to and from string values.
Converts an object to a string value.
The object to convert.
The string representation of the given object.
Converts a string representation of an object back into the original object form.
The string representation of an object.
The object represented by the given string.
This class stores the reflected data required for serialization.
The static constructor creates a dictionary that maps an object type to a specific SerializationMap instance.
Creates a new instance of the SerializationMap class.
The type associated with this SerializationMap.
This overload is used for objects that are marked with the .
The type to generate a SerializationMap for.
A new serialization map that can be used to serialize the given type.
The forward method that will serialize a property or field with the specified name.
The name does not have to be the same as the name of the member.
The property or field information to serialize
The name to remove
The Serialization Map Entry created by the serialize method
The type that this serialization map instance is associated with.
The members that participate in serialization.
Contains the information needed to serialize a single property or field.
Creates a new SerializationMapEntry instance.
Info about the field or property to serialize.
Details about how to serialize this member.
Assigns the constructor argument index of this entry's attribute.
The constructor argument index to assign
Assigns the formatter value of this entry's attribute.
The serialization formatter to use for the associated member.
Overrides the normal equality test to take into account serialization
Returns a numeric hash code austensibly uniquishly controlled by the member and attribute hash code.
The or instance for the associated member.
The attribute that contains more details about how to serialize this member.
This class contains details on how to serialize a field or property.
Creates a new instance of the SerializeAttribute.
The name to use when serializing the associated member.
The name to use when serializing the associated member.
The constructor argument index that the associated member represents.
The default value is -1, which indicates that the associated member is
not used as a constructor argument.
The type of the formatter to use for the associated value.
The type must be derived from .
In many cases, the explicit type name references a version or public key token that is expired,
even though the reference is still perfectly valid in the new instance. This type allows testing
for that eventuality, as well as working directly with the components of a fully qualified name.
Initializes a new instance of the TypeManager class.
Since the version, or even possibly the strong name may be dynamic, an older
reference may need to be updated with local assembly information.
The invalidated type name, usually because the version is out of date.
A string represnting the same type, but with a modern assmebly.
This method searches the executable path, as well as sub-folders looking for an instance of
the specified assembly. Since this class is only needed if the fully qualified assembly name
is invalid, we have to assume that we are looking for something else.
The string assembly name.
A class that works like an enumeration to define several constants.
dictionary
entry
key
value
enum
list
object
primitive
string
root
member
item
types
type
value
arg
formatter
name
key
id
ref
Returns a System.Type that corresponds to the MemberInfo,
regardless of whether the member is a field or property.
The base class that can be either a FieldInfo or PropertyInfo
The System.Type
Converts serialized XML into an object.
Converts the given XML string into an object.
The type to cast the returned object as.
The serialized XML text.
The object represented by the serialized XML.
Deserializes the given XML, writing the values into the given object.
The type of the given object.
An existing object to fill with data.
The serialized XML text.
Creates and populates an object from the given XML element.
The element containing the object description
The parent.
A populated object specified by the given XML element.
A class that helps with xml project serialization
Some characters create problems in xml format by being interpreted by xml parsers as
content formatting tags.
The string text of the unescaped original characters
The modified string where the characters are replaced
This converts the invalid characters back to the original, unescaped text
The string text of the escaped characters
The unescaped string text
This tests the string in the provided text parameter starting at the specified startIndex.
If the combination of characters builds one of the recognized escape sequences, then this
returns true.
The string to test.
The zero based integer start index.
A boolean that is true if the startIndex begins an escape sequence.
Serializes data to XML. A valid serialization map must be available for all classes being serialized.
The serialization map is generally created at runtime from fields and properties marked with the
. For classes that cannot be directly marked up with attributes a
new map class can be created explicitly as needed.
Converts an object into XML.
The object to serialize.
A string containing the serialization of the given object.