Changeset 11594 for branches/Breadcrumbs/HeuristicLab.Data/3.3/Path Types
- Timestamp:
- 11/27/14 11:23:37 (10 years ago)
- Location:
- branches/Breadcrumbs
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/Breadcrumbs
- Property svn:ignore
-
old new 8 8 FxCopResults.txt 9 9 Google.ProtocolBuffers-0.9.1.dll 10 Google.ProtocolBuffers-2.4.1.473.dll 10 11 HeuristicLab 3.3.5.1.ReSharper.user 11 12 HeuristicLab 3.3.6.0.ReSharper.user 12 13 HeuristicLab.4.5.resharper.user 13 14 HeuristicLab.ExtLibs.6.0.ReSharper.user 15 HeuristicLab.Scripting.Development 14 16 HeuristicLab.resharper.user 15 17 ProtoGen.exe … … 17 19 _ReSharper.HeuristicLab 18 20 _ReSharper.HeuristicLab 3.3 21 _ReSharper.HeuristicLab 3.3 Tests 19 22 _ReSharper.HeuristicLab.ExtLibs 20 23 bin 21 24 protoc.exe 22 _ReSharper.HeuristicLab 3.3 Tests23 Google.ProtocolBuffers-2.4.1.473.dll
-
- Property svn:mergeinfo changed
- Property svn:ignore
-
branches/Breadcrumbs/HeuristicLab.Data/3.3
- Property svn:mergeinfo changed
-
branches/Breadcrumbs/HeuristicLab.Data/3.3/Path Types/DirectoryValue.cs
r9833 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 39 39 40 40 public override bool Exists() { 41 if (!Path.IsPathRooted(Value)) return false; 41 42 return Directory.Exists(Value); 42 43 } -
branches/Breadcrumbs/HeuristicLab.Data/3.3/Path Types/FileValue.cs
r9833 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 56 56 57 57 public override bool Exists() { 58 if (string.IsNullOrEmpty(Value)) return false; 59 if (string.IsNullOrEmpty(Path.GetDirectoryName(Value))) return false; 58 60 return File.Exists(Value); 59 61 } -
branches/Breadcrumbs/HeuristicLab.Data/3.3/Path Types/PathValue.cs
r9833 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab. … … 52 52 } 53 53 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 } 55 63 56 64 public abstract bool Exists(); 65 66 public override string ToString() { 67 return stringValue.ToString(); 68 } 69 57 70 } 58 71 } -
branches/Breadcrumbs/HeuristicLab.Data/3.3/Path Types/TextFileValue.cs
r9714 r11594 1 1 #region License Information 2 2 /* HeuristicLab 3 * Copyright (C) 2002-201 3Heuristic and Evolutionary Algorithms Laboratory (HEAL)3 * Copyright (C) 2002-2014 Heuristic and Evolutionary Algorithms Laboratory (HEAL) 4 4 * 5 5 * This file is part of HeuristicLab.
Note: See TracChangeset
for help on using the changeset viewer.