Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
04/14/09 14:26:45 (16 years ago)
Author:
epitzer
Message:

More renaming and refactoring. (#548)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.Persistence/3.3/Default/Decomposers/StorableDecomposer.cs

    r1553 r1555  
    1515    public bool CanDecompose(Type type) {
    1616      return StorableAttribute.GetStorableMembers(type, false).Count() > 0 ||
    17         EmptyStorableClassAttribute.IsEmpyStorable(type);
     17        EmptyStorableClassAttribute.IsEmptyStorable(type);
    1818
    1919    }
     
    2424
    2525    public IEnumerable<Tag> Decompose(object obj) {
    26       foreach (var mapping in StorableAttribute.GetAutostorableAccessors(obj)) {
     26      foreach (var mapping in StorableAttribute.GetStorableAccessors(obj)) {
    2727        yield return new Tag(mapping.Key, mapping.Value.Get());
    2828      }
     
    3939        memberDict.Add(iter.Current.Name, iter.Current);
    4040      }     
    41       foreach (var mapping in StorableAttribute.GetAutostorableAccessors(instance)) {
     41      foreach (var mapping in StorableAttribute.GetStorableAccessors(instance)) {
    4242        if (memberDict.ContainsKey(mapping.Key)) {
    4343          mapping.Value.Set(memberDict[mapping.Key].Value);         
Note: See TracChangeset for help on using the changeset viewer.