Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/16/09 12:40:41 (15 years ago)
Author:
epitzer
Message:

Stronger typing for formatters with the help of generics. Separate format and serial data type. (#548)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Interfaces/IFormat.cs

    r1542 r1564  
    33namespace HeuristicLab.Persistence.Interfaces {
    44
     5  /// <summary>
     6  /// Interface of a new serialization output format. Instead of implementing this
     7  /// interface, derive from FormatBase.
     8  /// </summary>
    59  public interface IFormat {
    610    string Name { get; }
     11    Type SerialDataType { get; }
     12  }
     13
     14  /// <summary>
     15  /// Marker interface for new serialization output format.  Instead of implementing this
     16  /// interface, derive from FormatBase.
     17  /// </summary> 
     18  public interface IFormat<SerialDataFormat> : IFormat where SerialDataFormat : ISerialData {
    719  }
    820
Note: See TracChangeset for help on using the changeset viewer.