Rev | Line | |
---|
[1564] | 1 | using HeuristicLab.Persistence.Interfaces;
|
---|
| 2 | using HeuristicLab.Persistence.Core;
|
---|
[1615] | 3 | using System.Text;
|
---|
[1623] | 4 | using HeuristicLab.Persistence.Default.Decomposers.Storable;
|
---|
[1564] | 5 |
|
---|
| 6 | namespace HeuristicLab.Persistence.Default.Xml {
|
---|
[1566] | 7 |
|
---|
[1564] | 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 | }
|
---|
[1615] | 16 |
|
---|
| 17 | public override string ToString() {
|
---|
| 18 | StringBuilder sb = new StringBuilder();
|
---|
| 19 | sb.Append("XmlString(").Append(Data).Append(')');
|
---|
| 20 | return sb.ToString();
|
---|
| 21 | }
|
---|
[1564] | 22 | }
|
---|
| 23 | } |
---|
Note: See
TracBrowser
for help on using the repository browser.