Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.ExtLibs/HeuristicLab.Netron/3.0.2672.12446/Netron.Diagramming.Core-3.0.2672.12446/Core/Interfaces/IGenericFormatter.cs @ 4068

Last change on this file since 4068 was 4068, checked in by swagner, 14 years ago

Sorted usings and removed unused usings in entire solution (#1094)

File size: 732 bytes
Line 
1using System.IO;
2namespace Netron.Diagramming.Core {
3  /// <summary>
4  /// Generic formatter interface
5  /// </summary>
6  public interface IGenericFormatter {
7    /// <summary>
8    /// Deserializes the specified serialization stream.
9    /// </summary>
10    /// <param name="serializationStream">The serialization stream.</param>
11    /// <returns></returns>
12    T Deserialize<T>(Stream serializationStream);
13    /// <summary>
14    /// Serializes the specified serialization stream.
15    /// </summary>
16    /// <param name="serializationStream">The serialization stream.</param>
17    /// <param name="graph">A parameter of the generics Type T</param>
18    void Serialize<T>(Stream serializationStream, T graph);
19  }
20}
Note: See TracBrowser for help on using the repository browser.