- Timestamp:
- 03/15/10 14:45:46 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive
- Files:
-
- 20 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Bool2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Bool2XmlSerializer : SimpleNumber2XmlSerializerBase<bool> { }9 internal sealed class Bool2XmlSerializer : SimpleNumber2XmlSerializerBase<bool> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Byte2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Byte2XmlSerializer : SimpleNumber2XmlSerializerBase<byte> { }9 internal sealed class Byte2XmlSerializer : SimpleNumber2XmlSerializerBase<byte> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Char2XmlFormatter.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Char2XmlSerializer : PrimitiveSerializerBase<char, XmlString> {9 internal sealed class Char2XmlSerializer : PrimitiveSerializerBase<char, XmlString> { 10 10 11 11 public override XmlString Format(char c) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/DateTime2XmlSerializer.cs
r1853 r3036 5 5 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 6 6 7 publicclass DateTime2XmlSerializer : PrimitiveXmlSerializerBase<DateTime> {7 internal sealed class DateTime2XmlSerializer : PrimitiveXmlSerializerBase<DateTime> { 8 8 9 9 public override XmlString Format(DateTime dt) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Decimal2XmlSerializer.cs
r1958 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Decimal2XmlSerializer : PrimitiveXmlSerializerBase<decimal> {9 internal sealed class Decimal2XmlSerializer : PrimitiveXmlSerializerBase<decimal> { 10 10 11 11 public static decimal ParseG30(string s) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Double2XmlSerializer.cs
r1958 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Double2XmlSerializer : PrimitiveXmlSerializerBase<double> {9 internal sealed class Double2XmlSerializer : PrimitiveXmlSerializerBase<double> { 10 10 11 11 public static double ParseG17(string s) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Float2XmlSerializer.cs
r1958 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Float2XmlSerializer : PrimitiveXmlSerializerBase<float> {9 internal sealed class Float2XmlSerializer : PrimitiveXmlSerializerBase<float> { 10 10 11 11 public static float ParseG8(string s) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Guid2XmlSerializer.cs
r1853 r3036 9 9 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 10 10 11 publicclass Guid2XmlSerializer : PrimitiveXmlSerializerBase<Guid> {11 internal sealed class Guid2XmlSerializer : PrimitiveXmlSerializerBase<Guid> { 12 12 13 13 public override XmlString Format(Guid o) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Int2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Int2XmlSerializer : SimpleNumber2XmlSerializerBase<int> { }9 internal sealed class Int2XmlSerializer : SimpleNumber2XmlSerializerBase<int> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Long2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Long2XmlSerializer : SimpleNumber2XmlSerializerBase<long> { }9 internal sealed class Long2XmlSerializer : SimpleNumber2XmlSerializerBase<long> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/PrimitiveXmlSerializerBase.cs
r1823 r3036 5 5 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 6 6 7 /// <summary> 8 /// Common base class for primitive XML serializers. 9 /// </summary> 10 /// <typeparam name="T">The source type being serialized to XMl.</typeparam> 7 11 public abstract class PrimitiveXmlSerializerBase<T> : XmlSerializerBase<T> { } 8 12 -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/SByte2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass SByte2XmlSerializer : SimpleNumber2XmlSerializerBase<sbyte> { }9 internal sealed class SByte2XmlSerializer : SimpleNumber2XmlSerializerBase<sbyte> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/Short2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass Short2XmlSerializer : SimpleNumber2XmlSerializerBase<short> { }9 internal sealed class Short2XmlSerializer : SimpleNumber2XmlSerializerBase<short> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/SimpleNumber2XmlSerializerBase.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicabstract class SimpleNumber2XmlSerializerBase<T> : PrimitiveXmlSerializerBase<T> {9 internal abstract class SimpleNumber2XmlSerializerBase<T> : PrimitiveXmlSerializerBase<T> { 10 10 11 11 private static MethodInfo ParseMethod = typeof(T) -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/String2XmlSerializer.cs
r2940 r3036 9 9 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 10 10 11 public class String2XmlSerializer : PrimitiveXmlSerializerBase<string> { 11 /// <summary> 12 /// Serializes a string to XML by embedding into a CDATA block. 13 /// </summary> 14 public sealed class String2XmlSerializer : PrimitiveXmlSerializerBase<string> { 12 15 16 /// <summary> 17 /// Formats the specified string. 18 /// </summary> 19 /// <param name="s">The string.</param> 20 /// <returns>An XmlString that embeds the string s in a CDATA section.</returns> 13 21 public override XmlString Format(string s) { 14 22 StringBuilder sb = new StringBuilder(); … … 21 29 private static Regex re = new Regex(@"<!\[CDATA\[((?:[^]]|\](?!\]>))*)\]\]>", RegexOptions.Singleline); 22 30 31 /// <summary> 32 /// Parses the specified XmlString into a string. 33 /// </summary> 34 /// <param name="x">The XMLString.</param> 35 /// <returns>The plain string contained in the XML CDATA section.</returns> 23 36 public override string Parse(XmlString x) { 24 37 StringBuilder sb = new StringBuilder(); -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/System.Drawing/Bitmap2XmlSerializer.cs
r3004 r3036 11 11 12 12 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 13 publicclass Bitmap2XmlSerializer : PrimitiveXmlSerializerBase<Bitmap> {13 internal sealed class Bitmap2XmlSerializer : PrimitiveXmlSerializerBase<Bitmap> { 14 14 15 15 public override XmlString Format(Bitmap o) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/TimeSpan2XmlSerializer.cs
r1853 r3036 9 9 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 10 10 11 publicclass TimeSpan2XmlSerializer : PrimitiveXmlSerializerBase<TimeSpan> {11 internal sealed class TimeSpan2XmlSerializer : PrimitiveXmlSerializerBase<TimeSpan> { 12 12 13 13 public override XmlString Format(TimeSpan o) { -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/UInt2XmlSerializer.cs
r1853 r3036 8 8 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 9 9 10 publicclass UInt2XmlSerializer : SimpleNumber2XmlSerializerBase<uint> { }10 internal sealed class UInt2XmlSerializer : SimpleNumber2XmlSerializerBase<uint> { } 11 11 12 12 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/ULong2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass ULong2XmlSerializer : SimpleNumber2XmlSerializerBase<ulong> { }9 internal sealed class ULong2XmlSerializer : SimpleNumber2XmlSerializerBase<ulong> { } 10 10 11 11 } -
trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/Primitive/UShort2XmlSerializer.cs
r1853 r3036 7 7 namespace HeuristicLab.Persistence.Default.Xml.Primitive { 8 8 9 publicclass UShort2XmlSerializer : SimpleNumber2XmlSerializerBase<ushort> { }9 internal sealed class UShort2XmlSerializer : SimpleNumber2XmlSerializerBase<ushort> { } 10 10 11 11 }
Note: See TracChangeset
for help on using the changeset viewer.