Changeset 1476 for trunk/sources/HeuristicLab.Persistence/Default/ViewOnly
- Timestamp:
- 04/01/09 15:10:14 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Persistence/Default/ViewOnly/ViewOnlyFormat.cs
r1454 r1476 45 45 public override Type Type { get { return typeof(Type); } } 46 46 } 47 48 //public class ToStringDecomposer : IDecomposer {49 // should not be used by default50 public class ToStringDecomposer {51 public bool CanDecompose(Type type) { return true; }52 public IEnumerable<Tag> DeCompose(object obj) {53 yield return new Tag(obj.ToString());54 }55 56 public object CreateInstance(Type type) {57 throw new NotImplementedException();58 }59 60 public object Populate(object instance, IEnumerable<Tag> tags, Type type) {61 throw new NotImplementedException();62 }63 64 }65 66 47 67 48 public class ViewOnlyGenerator : Generator<string> {
Note: See TracChangeset
for help on using the changeset viewer.