Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
07/08/14 18:53:42 (10 years ago)
Author:
mkommend
Message:

#2201: Merged r11034 into stable.

Location:
stable
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • stable

  • stable/HeuristicLab.Data/3.3

  • stable/HeuristicLab.Data/3.3/Path Types/PathValue.cs

    r9961 r11140  
    5252    }
    5353
    54     protected PathValue() : base() { }
     54    protected PathValue()
     55      : base() {
     56      stringValue.ToStringChanged += (o, e) => OnToStringChanged();
     57    }
     58
     59    [StorableHook(HookType.AfterDeserialization)]
     60    private void AfterDeserialization() {
     61      stringValue.ToStringChanged += (o, e) => OnToStringChanged();
     62    }
    5563
    5664    public abstract bool Exists();
     65
     66    public override string ToString() {
     67      return stringValue.ToString();
     68    }
     69
    5770  }
    5871}
Note: See TracChangeset for help on using the changeset viewer.