Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Persistence/3.3/Interfaces/IFormat.cs @ 3046

Last change on this file since 3046 was 3036, checked in by epitzer, 15 years ago

make most serializers internal and complete API documentation (#548)

File size: 926 bytes
Line 
1using System;
2
3namespace HeuristicLab.Persistence.Interfaces {
4
5  /// <summary>
6  /// Interface of a new serialization output format. Instead of implementing this
7  /// interface, derive from FormatBase.
8  /// </summary>
9  public interface IFormat {
10
11    /// <summary>
12    /// Gets the name.
13    /// </summary>
14    /// <value>The name.</value>
15    string Name { get; }
16
17    /// <summary>
18    /// Gets the type of the serial data.
19    /// </summary>
20    /// <value>The type of the serial data.</value>
21    Type SerialDataType { get; }
22  }
23
24  /// <summary>
25  /// Marker interface for new serialization output format.  Instead of implementing this
26  /// interface, derive from FormatBase.
27  /// </summary>
28  /// <typeparam name="SerialDataFormat">The type of the serial data format.</typeparam>
29  public interface IFormat<SerialDataFormat> : IFormat where SerialDataFormat : ISerialData {
30  }
31
32}
Note: See TracBrowser for help on using the repository browser.