Free cookie consent management tool by TermsFeed Policy Generator

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

Last change on this file since 1652 was 1623, checked in by epitzer, 16 years ago

Namespace refactoring, visibility check (#548)

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