Last change
on this file since 1762 was
1564,
checked in by epitzer, 16 years ago
|
Stronger typing for formatters with the help of generics. Separate format and serial data type. (#548)
|
File size:
602 bytes
|
Line | |
---|
1 | using System;
|
---|
2 |
|
---|
3 | namespace 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 | 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 {
|
---|
19 | }
|
---|
20 |
|
---|
21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.