Changeset 1823 for trunk/sources/HeuristicLab.Persistence/3.3/Interfaces
- Timestamp:
- 05/15/09 12:29:13 (16 years ago)
- Location:
- trunk/sources/HeuristicLab.Persistence/3.3/Interfaces
- Files:
-
- 1 edited
- 2 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/3.3/Interfaces/ICompositeSerializer.cs
r1805 r1823 5 5 namespace HeuristicLab.Persistence.Interfaces { 6 6 7 public interface I Decomposer {7 public interface ICompositeSerializer { 8 8 9 9 /// <summary> 10 /// Defines the Priorty of this Decomposer. Higher number means11 /// higher prioriy. Negative numbers are fallback decomposers.12 /// All default generic decomposers have priority 100. Specializations10 /// Defines the Priorty of this composite serializer. Higher number means 11 /// higher prioriy. Negative numbers are fallback serializers. 12 /// All default generic composite serializers have priority 100. Specializations 13 13 /// have priority 200 so they will be tried first. Priorities are 14 14 /// only considered for default configurations. … … 17 17 18 18 /// <summary> 19 /// Determines for every type whether the decomposer is applicable.19 /// Determines for every type whether the composite serializer is applicable. 20 20 /// </summary> 21 bool Can Decompose(Type type);21 bool CanSerialize(Type type); 22 22 23 23 /// <summary> -
trunk/sources/HeuristicLab.Persistence/3.3/Interfaces/IPrimitiveSerializer.cs
r1805 r1823 4 4 5 5 /// <summary> 6 /// Marker interface of serial data formatters. Transform data of type SourceType7 /// into the serialization format SerialDataType. Derive from FormatterBase instead6 /// Marker interface primitive serializers. Transform data of type SourceType 7 /// into the serialization format SerialDataType. Derive from PrimitiveSerializerBase instead 8 8 /// of implementing this interface. 9 9 /// </summary> 10 public interface I Formatter {10 public interface IPrimitiveSerializer { 11 11 Type SerialDataType { get; } 12 12 Type SourceType { get; } … … 16 16 17 17 /// <summary> 18 /// Marker interface of serial data formatters. Transform data of type Source19 /// into the serialization format SerialData . Derive from FormatterBase instead18 /// Marker interface primitive serializers. Transform data of type SourceType 19 /// into the serialization format SerialDataType. Derive from PrimitiveSerializerBase instead 20 20 /// of implementing this interface. 21 /// </summary> 22 public interface I Formatter<Source, SerialData> : IFormatter where SerialData : ISerialData {21 /// </summary> 22 public interface IPrimitiveSerializer<Source, SerialData> : IPrimitiveSerializer where SerialData : ISerialData { 23 23 SerialData Format(Source o); 24 24 Source Parse(SerialData t); -
trunk/sources/HeuristicLab.Persistence/3.3/Interfaces/ISerialData.cs
r1566 r1823 6 6 /// <summary> 7 7 /// Marker interface for serialized values generated and parsed by 8 /// the formatterand output and read by generator and parser.8 /// primitive serializers and output and read by generator and parser. 9 9 /// </summary> 10 10 public interface ISerialData { }
Note: See TracChangeset
for help on using the changeset viewer.