- Timestamp:
- 12/18/18 17:38:50 (6 years ago)
- Location:
- branches/2904_CalculateImpacts/3.4
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2904_CalculateImpacts/3.4
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Problems.DataAnalysis/3.4 merged: 16241-16244
- Property svn:mergeinfo changed
-
branches/2904_CalculateImpacts/3.4/Implementation/DataAnalysisSolution.cs
r15583 r16397 58 58 get { return (IDataAnalysisProblemData)this[ProblemDataResultName].Value; } 59 59 set { 60 if (this[ProblemDataResultName].Value != value) { 61 if (value != null) { 62 ProblemData.Changed -= new EventHandler(ProblemData_Changed); 63 this[ProblemDataResultName].Value = value; 64 ProblemData.Changed += new EventHandler(ProblemData_Changed); 65 OnProblemDataChanged(); 66 } 67 } 60 if (value == null) throw new ArgumentNullException("The problemData must not be null."); 61 if (this[ProblemDataResultName].Value == value) return; 62 string errorMessage = string.Empty; 63 if (!Model.IsProblemDataCompatible(value, out errorMessage)) throw new ArgumentException(errorMessage); 64 65 ProblemData.Changed -= new EventHandler(ProblemData_Changed); 66 this[ProblemDataResultName].Value = value; 67 ProblemData.Changed += new EventHandler(ProblemData_Changed); 68 OnProblemDataChanged(); 68 69 } 69 70 }
Note: See TracChangeset
for help on using the changeset viewer.