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 | |
---|
1 | using System;
|
---|
2 | using System.Collections.Generic;
|
---|
3 | using System.Text;
|
---|
4 | using HeuristicLab.Persistence.Interfaces;
|
---|
5 | using HeuristicLab.Persistence.Default.Xml;
|
---|
6 | using HeuristicLab.Persistence.Core;
|
---|
7 | using HeuristicLab.Persistence.Core.Tokens;
|
---|
8 | using HeuristicLab.Persistence.Default.CompositeSerializers.Storable;
|
---|
9 |
|
---|
10 | namespace 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.