Public Member Functions | |
| void | Write (string name, string value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, double value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, float value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, bool value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, char value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, short value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, int value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, long value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, decimal value) |
| Writes a field to the XML data as an element. | |
| void | Write (string name, string value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, double value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, float value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, bool value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, char value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, short value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, int value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, long value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, decimal value, bool asAttribute) |
| Writes a field to the XML data as an element or an attribute. | |
| void | Write (string name, int[] value) |
| Writes an int[] array to the XML data as an element. | |
| void | Write (string name, double[] value) |
| Writes an double[] array to the XML data as an element. | |
| void | Write (string name, byte[] value) |
| Writes a byte[] array to the XML data as an element. | |
| void | Write (string name, IXleSerializable value) |
| Writes an object implementing IXleSerializable to the XML data as an element. | |
| void | Write< T > (string name, T[] value) |
| Writes an array of objects implementing IXleSerializable to the XML data as an element. | |
| void | Write< T > (string name, List< T > value) |
| Writes a List<T> of objects implementing IXleSerializable to the XML data as an element. | |
| void | Write< Tkey, Tvalue > (string name, Dictionary< Tkey, Tvalue > value) |
| Writes a Dictionary of objects implementing IXleSerializable to the XML data as an element. The key type must implement IConvertible and the value type must implment IXleSerializable. | |
| void | Write< Tkey > (string name, Dictionary< Tkey, string > value) |
| Writes a Dictionary of strings implementing IXleSerializable to the XML data as an element. The key type must implement IConvertible. | |
| Dictionary< TKey, TValue > | ReadDictionary< TKey, TValue > (string name) |
| Reads a dictionary type from the XML data. The key type must implement IConvertible and the value type must implement IXleSerializable. | |
| Dictionary< Tkey, string > | ReadDictionary< Tkey > (string name) |
| Reads a dictionary type of strings from the XML data. The key type must implement IConvertible and the value type must implement IXleSerializable. | |
| object | ReadObject (string name) |
| Reads an object from the XML data. | |
| string | ReadString (string name, string defaultValue) |
| Reads a string from the XML data, with an optional default value substituted if the name is not present. | |
| string | ReadString (string name) |
| Reads a string from the XML data. If the name is not present an XleSerializationException is thrown. | |
| bool | ReadBoolean (string name) |
| Reads a boolean value from the XML data. If the name is not present an XleSerializationException is thrown. | |
| int | ReadInt32 (string name) |
| Reads a integer value from the XML data. If the name is not present an XleSerializationException is thrown. | |
| int | ReadInt32 (string name, int defaultValue) |
| Reads a integer value from the XML data. If the name is not present the default value is returned. | |
| double | ReadDouble (string name) |
| Reads a double value from the XML data. If the name is not present an XleSerializationException is thrown. | |
| int[] | ReadInt32Array (string name) |
| Reads a integer array from the XML data. If the name is not present an XleSerializationException is thrown. | |
| double[] | ReadDoubleArray (string name) |
| Reads a double array from the XML data. If the name is not present an XleSerializationException is thrown. | |
| T[] | ReadArray< T > (string name) |
| Reads an array of objects from the XML data. If the name is not present an XleSerializationException is thrown. | |
| List< T > | ReadList< T > (string name) |
| Reads a list of objects from the XML data. If the name is not present an XleSerializationException is thrown. | |
| byte[] | ReadByteArray (string name) |
| Reads a byte array from the XML data. If the name is not present an XleSerializationException is thrown. | |
Properties | |
| ITypeBinder | Binder [get, set] |
| The ITypeBinder object used. | |
| T [] AgateLib.Serialization.Xle.XleSerializationInfo.ReadArray< T > | ( | string | name | ) |
Reads an array of objects from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| bool AgateLib.Serialization.Xle.XleSerializationInfo.ReadBoolean | ( | string | name | ) |
Reads a boolean value from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| byte [] AgateLib.Serialization.Xle.XleSerializationInfo.ReadByteArray | ( | string | name | ) |
Reads a byte array from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| Dictionary<Tkey, string> AgateLib.Serialization.Xle.XleSerializationInfo.ReadDictionary< Tkey > | ( | string | name | ) |
Reads a dictionary type of strings from the XML data. The key type must implement IConvertible and the value type must implement IXleSerializable.
| Tkey | The key type of the dictionary. |
| name | The name of the element in the XML stream to decode. |
| Tkey | : | IConvertible |
| Dictionary<TKey, TValue> AgateLib.Serialization.Xle.XleSerializationInfo.ReadDictionary< TKey, TValue > | ( | string | name | ) |
Reads a dictionary type from the XML data. The key type must implement IConvertible and the value type must implement IXleSerializable.
| TKey | ||
| TValue |
| name |
| TKey | : | IConvertible | |
| TValue | : | IXleSerializable |
| double AgateLib.Serialization.Xle.XleSerializationInfo.ReadDouble | ( | string | name | ) |
Reads a double value from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| double [] AgateLib.Serialization.Xle.XleSerializationInfo.ReadDoubleArray | ( | string | name | ) |
Reads a double array from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| int AgateLib.Serialization.Xle.XleSerializationInfo.ReadInt32 | ( | string | name, | |
| int | defaultValue | |||
| ) |
Reads a integer value from the XML data. If the name is not present the default value is returned.
| name | Name of the field. | |
| defaultValue | The default value to return if the name is not present. |
| int AgateLib.Serialization.Xle.XleSerializationInfo.ReadInt32 | ( | string | name | ) |
Reads a integer value from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| int [] AgateLib.Serialization.Xle.XleSerializationInfo.ReadInt32Array | ( | string | name | ) |
Reads a integer array from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| List<T> AgateLib.Serialization.Xle.XleSerializationInfo.ReadList< T > | ( | string | name | ) |
Reads a list of objects from the XML data. If the name is not present an XleSerializationException is thrown.
| name | Name of the field. |
| object AgateLib.Serialization.Xle.XleSerializationInfo.ReadObject | ( | string | name | ) |
Reads an object from the XML data.
| name |
| string AgateLib.Serialization.Xle.XleSerializationInfo.ReadString | ( | string | name | ) |
Reads a string from the XML data. If the name is not present an XleSerializationException is thrown.
| name | The name of the XML field to decode. |
| string AgateLib.Serialization.Xle.XleSerializationInfo.ReadString | ( | string | name, | |
| string | defaultValue | |||
| ) |
Reads a string from the XML data, with an optional default value substituted if the name is not present.
| name | ||
| defaultValue |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| IXleSerializable | value | |||
| ) |
Writes an object implementing IXleSerializable to the XML data as an element.
| name | The name of the XML element used. | |
| value | The object data to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| byte[] | value | |||
| ) |
Writes a byte[] array to the XML data as an element.
| name | The name of the XML element used. | |
| value | The array data to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| double[] | value | |||
| ) |
Writes an double[] array to the XML data as an element.
| name | The name of the XML element used. | |
| value | The array data to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| int[] | value | |||
| ) |
Writes an int[] array to the XML data as an element.
| name | The name of the XML element used. | |
| value | The array data to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| decimal | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| long | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| int | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| short | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| char | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| bool | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| float | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| double | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| string | value, | |||
| bool | asAttribute | |||
| ) |
Writes a field to the XML data as an element or an attribute.
| name | The name of the XML element used. | |
| value | The value to write. | |
| asAttribute | Pass true to write the field as an attribute in the parent element. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| decimal | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| long | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| int | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| short | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| char | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| bool | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| float | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| double | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write | ( | string | name, | |
| string | value | |||
| ) |
Writes a field to the XML data as an element.
| name | The name of the XML element used. | |
| value | The value to write. |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write< T > | ( | string | name, | |
| List< T > | value | |||
| ) |
Writes a List<T> of objects implementing IXleSerializable to the XML data as an element.
| name | The name of the XML element used. | |
| value | The list data to write. |
| T | : | IXleSerializable |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write< T > | ( | string | name, | |
| T[] | value | |||
| ) |
Writes an array of objects implementing IXleSerializable to the XML data as an element.
| name | The name of the XML element used. | |
| value | The array data to write. |
| T | : | IXleSerializable |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write< Tkey > | ( | string | name, | |
| Dictionary< Tkey, string > | value | |||
| ) |
Writes a Dictionary of strings implementing IXleSerializable to the XML data as an element. The key type must implement IConvertible.
| name | The name of the XML element used. | |
| value | The dictionary to write. |
| Tkey | : | IConvertible |
| void AgateLib.Serialization.Xle.XleSerializationInfo.Write< Tkey, Tvalue > | ( | string | name, | |
| Dictionary< Tkey, Tvalue > | value | |||
| ) |
Writes a Dictionary of objects implementing IXleSerializable to the XML data as an element. The key type must implement IConvertible and the value type must implment IXleSerializable.
| name | The name of the XML element used. | |
| value | The dictionary to write. |
| Tkey | : | IConvertible | |
| Tvalue | : | IXleSerializable |
ITypeBinder AgateLib.Serialization.Xle.XleSerializationInfo.Binder [get, set] |
The ITypeBinder object used.
|
AgateLib Awesome Game and Tool Engine Library |
|