Last change
on this file since 1940 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
|
Rev | Line | |
---|
[1542] | 1 | using System;
|
---|
| 2 |
|
---|
| 3 | namespace HeuristicLab.Persistence.Interfaces {
|
---|
| 4 |
|
---|
[1564] | 5 | /// <summary>
|
---|
| 6 | /// Interface of a new serialization output format. Instead of implementing this
|
---|
| 7 | /// interface, derive from FormatBase.
|
---|
| 8 | /// </summary>
|
---|
[1542] | 9 | public interface IFormat {
|
---|
| 10 | string Name { get; }
|
---|
[1564] | 11 | Type SerialDataType { get; }
|
---|
[1542] | 12 | }
|
---|
| 13 |
|
---|
[1564] | 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 |
|
---|
[1542] | 21 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.