Free cookie consent management tool by TermsFeed Policy Generator

source: trunk/sources/HeuristicLab.Persistence/3.3/Default/DebugString/DebugString.cs @ 2994

Last change on this file since 2994 was 2994, checked in by epitzer, 14 years ago

Make StorableClass attribute compulsory for StorableSerializer to work, add named property StorableClassType to choose between Empty and MarkedOnly, later other options will be added. (#548)

File size: 605 bytes
Line 
1using System;
2using System.Collections.Generic;
3using System.Text;
4using HeuristicLab.Persistence.Interfaces;
5using HeuristicLab.Persistence.Default.Xml;
6using HeuristicLab.Persistence.Core;
7using HeuristicLab.Persistence.Core.Tokens;
8using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
9
10namespace HeuristicLab.Persistence.Default.DebugString {
11 
12  [StorableClass(StorableClassType.MarkedOnly)] 
13  public class DebugString : ISerialData {
14
15    [Storable]
16    public string Data { get; set; }
17
18    public DebugString(string s) {
19      Data = s;
20    }
21
22  }
23
24}
Note: See TracBrowser for help on using the repository browser.