Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Persistence/3.3/Default/Xml/XmlString.cs @ 1615

Last change on this file since 1615 was 1615, checked in by epitzer, 15 years ago

Improve debugability to investigate failing tests. (#593)

File size: 520 bytes
Line 
1using HeuristicLab.Persistence.Interfaces;
2using HeuristicLab.Persistence.Core;
3using System.Text;
4
5namespace HeuristicLab.Persistence.Default.Xml {
6
7  public class XmlString : ISerialData {
8
9    [Storable]
10    public string Data { get; private set; }
11
12    public XmlString(string data) {
13      Data = data;
14    }
15
16    public override string ToString() {
17      StringBuilder sb = new StringBuilder();
18      sb.Append("XmlString(").Append(Data).Append(')');
19      return sb.ToString();
20    }
21  }
22}
Note: See TracBrowser for help on using the repository browser.