- Timestamp:
- 05/15/09 12:29:13 (15 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Core/PrimitiveSerializerBase.cs
r1805 r1823 4 4 namespace HeuristicLab.Persistence.Interfaces { 5 5 6 public abstract class FormatterBase<Source, SerialData> : IFormatter<Source, SerialData> where SerialData : ISerialData { 6 public abstract class PrimitiveSerializerBase<Source, SerialData> : 7 IPrimitiveSerializer<Source, SerialData> 8 where SerialData : ISerialData { 7 9 8 10 public abstract SerialData Format(Source o); … … 14 16 public Type SourceType { get { return typeof(Source); } } 15 17 16 ISerialData I Formatter.Format(object o) {18 ISerialData IPrimitiveSerializer.Format(object o) { 17 19 return Format((Source)o); 18 20 } 19 21 20 object I Formatter.Parse(ISerialData o) {22 object IPrimitiveSerializer.Parse(ISerialData o) { 21 23 return Parse((SerialData)o); 22 24 }
Note: See TracChangeset
for help on using the changeset viewer.