- Timestamp:
- 03/07/16 10:18:05 (8 years ago)
- Location:
- branches/WebJobManager
- Files:
-
- 1 edited
- 1 copied
Legend:
- Unmodified
- Added
- Removed
-
branches/WebJobManager/HeuristicLab.Scripting/3.3/VariableStore.cs
r12012 r13656 25 25 using HeuristicLab.Collections; 26 26 using HeuristicLab.Common; 27 using HeuristicLab.Common.Resources;28 27 using HeuristicLab.Core; 29 28 using HeuristicLab.Persistence.Core; … … 36 35 public class VariableStore : ObservableDictionary<string, object>, IItem { 37 36 #region Properties 38 public virtual string ItemName { 37 public virtual string ItemName 38 { 39 39 get { return ItemAttribute.GetName(GetType()); } 40 40 } 41 public virtual string ItemDescription { 41 public virtual string ItemDescription 42 { 42 43 get { return ItemAttribute.GetDescription(GetType()); } 43 44 } 44 public Version ItemVersion { 45 public Version ItemVersion 46 { 45 47 get { return ItemAttribute.GetVersion(GetType()); } 46 48 } 47 public static Image StaticItemImage { 48 get { return VSImageLibrary.Class; } 49 } 50 public virtual Image ItemImage { 49 50 public virtual Image ItemImage 51 { 51 52 get { return ItemAttribute.GetImage(GetType()); } 52 53 } … … 65 66 try { 66 67 dict[kvp.Key] = CloneByPersistence(kvp.Value); 67 } catch (PersistenceException pe) { 68 } 69 catch (PersistenceException pe) { 68 70 throw new NotSupportedException(string.Format(@"VariableStore: Variable ""{0}"" could not be cloned.", kvp.Key), pe); 69 71 }
Note: See TracChangeset
for help on using the changeset viewer.