Free cookie consent management tool by TermsFeed Policy Generator

source: branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Interfaces/IResultFormatter.cs @ 18043

Last change on this file since 18043 was 18043, checked in by dpiringe, 3 years ago

#3026

  • code cleanup
File size: 651 bytes
Line 
1using System;
2
3namespace HeuristicLab.JsonInterface {
4  public interface IResultFormatter {
5    /// <summary>
6    /// A given priority, higher numbers are prior.
7    /// </summary>
8    int Priority { get; }
9
10    /// <summary>
11    /// Checks if the given type can be formatted
12    /// </summary>
13    /// <param name="t"></param>
14    /// <returns></returns>
15    bool CanFormatType(Type t);
16
17    /// <summary>
18    /// The format method which formats and object into a string (which can be saved in a JSON file).
19    /// </summary>
20    /// <param name="o"></param>
21    /// <returns></returns>
22    string Format(object o);
23  }
24}
Note: See TracBrowser for help on using the repository browser.