Changeset 18043 for branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Interfaces/IResultFormatter.cs
- Timestamp:
- 08/11/21 13:05:27 (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3026_IntegrationIntoSymSpace/HeuristicLab.JsonInterface/Interfaces/IResultFormatter.cs
r17834 r18043 1 1 using System; 2 using System.Collections.Generic;3 using System.Linq;4 using System.Text;5 using System.Threading.Tasks;6 2 7 3 namespace HeuristicLab.JsonInterface { 8 4 public interface IResultFormatter { 5 /// <summary> 6 /// A given priority, higher numbers are prior. 7 /// </summary> 9 8 int Priority { get; } 10 9 10 /// <summary> 11 /// Checks if the given type can be formatted 12 /// </summary> 13 /// <param name="t"></param> 14 /// <returns></returns> 11 15 bool CanFormatType(Type t); 12 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> 13 22 string Format(object o); 14 23 }
Note: See TracChangeset
for help on using the changeset viewer.