Changeset 1872 for trunk/sources/HeuristicLab.Logging
- Timestamp:
- 05/20/09 15:06:46 (15 years ago)
- Location:
- trunk/sources/HeuristicLab.Logging/3.3
- Files:
-
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Logging/3.3/HeuristicLab.Logging-3.3.csproj
r1868 r1872 5 5 <ProductVersion>9.0.30729</ProductVersion> 6 6 <SchemaVersion>2.0</SchemaVersion> 7 <ProjectGuid>{ 4095C92C-5A4C-44BC-9963-5F384CF5CC3F}</ProjectGuid>7 <ProjectGuid>{72908B54-D136-4BF2-8474-25AA6CB66C92}</ProjectGuid> 8 8 <OutputType>Library</OutputType> 9 9 <AppDesignerFolder>Properties</AppDesignerFolder> 10 10 <RootNamespace>HeuristicLab.Logging</RootNamespace> 11 <AssemblyName>HeuristicLab.Logging-3. 2</AssemblyName>11 <AssemblyName>HeuristicLab.Logging-3.3</AssemblyName> 12 12 <SignAssembly>true</SignAssembly> 13 13 <AssemblyOriginatorKeyFile>HeuristicLab.snk</AssemblyOriginatorKeyFile> … … 17 17 <UpgradeBackupLocation> 18 18 </UpgradeBackupLocation> 19 <TargetFrameworkVersion>v3.5</TargetFrameworkVersion> 19 20 </PropertyGroup> 20 21 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> … … 35 36 <WarningLevel>4</WarningLevel> 36 37 <TreatWarningsAsErrors>false</TreatWarningsAsErrors> 37 <DocumentationFile>bin\Release\HeuristicLab.Logging-3. 2.XML</DocumentationFile>38 <DocumentationFile>bin\Release\HeuristicLab.Logging-3.3.xml</DocumentationFile> 38 39 </PropertyGroup> 39 40 <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|x86' "> … … 73 74 <ItemGroup> 74 75 <Reference Include="System" /> 76 <Reference Include="System.Core"> 77 <RequiredTargetFramework>3.5</RequiredTargetFramework> 78 </Reference> 75 79 <Reference Include="System.Data" /> 76 80 <Reference Include="System.Drawing" /> … … 123 127 <Name>HeuristicLab.Charting-3.2</Name> 124 128 </ProjectReference> 125 <ProjectReference Include="..\..\HeuristicLab.Core\3. 2\HeuristicLab.Core-3.2.csproj">126 <Project>{ F43B59AB-2B8C-4570-BC1E-15592086517C}</Project>127 <Name>HeuristicLab.Core-3. 2</Name>129 <ProjectReference Include="..\..\HeuristicLab.Core\3.3\HeuristicLab.Core-3.3.csproj"> 130 <Project>{C36BD924-A541-4A00-AFA8-41701378DDC5}</Project> 131 <Name>HeuristicLab.Core-3.3</Name> 128 132 </ProjectReference> 129 <ProjectReference Include="..\..\HeuristicLab.Data\3. 2\HeuristicLab.Data-3.2.csproj">130 <Project>{ F473D9AF-3F09-4296-9F28-3C65118DAFFA}</Project>131 <Name>HeuristicLab.Data-3. 2</Name>133 <ProjectReference Include="..\..\HeuristicLab.Data\3.3\HeuristicLab.Data-3.3.csproj"> 134 <Project>{BBAB9DF5-5EF3-4BA8-ADE9-B36E82114937}</Project> 135 <Name>HeuristicLab.Data-3.3</Name> 132 136 </ProjectReference> 133 <ProjectReference Include="..\..\HeuristicLab.Operators\3.2\HeuristicLab.Operators-3.2.csproj"> 134 <Project>{A9983BA2-B3B2-475E-8E2C-62050B71D1C5}</Project> 135 <Name>HeuristicLab.Operators-3.2</Name> 137 <ProjectReference Include="..\..\HeuristicLab.Operators\3.3\HeuristicLab.Operators-3.3.csproj"> 138 <Project>{23DA7FF4-D5B8-41B6-AA96-F0561D24F3EE}</Project> 139 <Name>HeuristicLab.Operators-3.3</Name> 140 </ProjectReference> 141 <ProjectReference Include="..\..\HeuristicLab.Persistence\3.3\HeuristicLab.Persistence-3.3.csproj"> 142 <Project>{102BC7D3-0EF9-439C-8F6D-96FF0FDB8E1B}</Project> 143 <Name>HeuristicLab.Persistence-3.3</Name> 136 144 </ProjectReference> 137 145 <ProjectReference Include="..\..\HeuristicLab.PluginInfrastructure\HeuristicLab.PluginInfrastructure.csproj"> -
trunk/sources/HeuristicLab.Logging/3.3/HeuristicLabLoggingPlugin.cs
r1530 r1872 29 29 /// Plugin class for HeuristicLab.Logging plugin. 30 30 /// </summary> 31 [ClassInfo(Name = "HeuristicLab.Logging-3. 2")]32 [PluginFile(Filename = "HeuristicLab.Logging-3. 2.dll", Filetype = PluginFileType.Assembly)]33 [Dependency(Dependency = "HeuristicLab.Core-3. 2")]34 [Dependency(Dependency = "HeuristicLab.Data-3. 2")]35 [Dependency(Dependency = "HeuristicLab.Operators-3. 2")]31 [ClassInfo(Name = "HeuristicLab.Logging-3.3")] 32 [PluginFile(Filename = "HeuristicLab.Logging-3.3.dll", Filetype = PluginFileType.Assembly)] 33 [Dependency(Dependency = "HeuristicLab.Core-3.3")] 34 [Dependency(Dependency = "HeuristicLab.Data-3.3")] 35 [Dependency(Dependency = "HeuristicLab.Operators-3.3")] 36 36 [Dependency(Dependency = "HeuristicLab.Charting-3.2")] 37 37 [Dependency(Dependency = "HeuristicLab.Charting.Data-3.2")] 38 [Dependency(Dependency = "HeuristicLab.Persistence-3.3")] 38 39 public class HeuristicLabLoggingPlugin : PluginBase { 39 40 } -
trunk/sources/HeuristicLab.Logging/3.3/Linechart.cs
r1530 r1872 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 29 30 namespace HeuristicLab.Logging { … … 32 33 /// </summary> 33 34 public class Linechart : ItemBase, IVisualizationItem { 35 [Storable] 34 36 private IntData myNumberOfLines; 35 37 /// <summary> … … 46 48 } 47 49 } 50 [Storable] 48 51 private ItemList myValues; 49 52 /// <summary> … … 123 126 ValuesChanged(this, new EventArgs()); 124 127 } 125 126 #region Persistence Methods127 /// <summary>128 /// Saves the current instance as <see cref="XmlNode"/> in the specified <paramref name="document"/>.129 /// </summary>130 /// <remarks>The number of lines and the values are saved as child nodes with tag131 /// name <c>NumberOfLines</c> and <c>Values</c> respectively.</remarks>132 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param>133 /// <param name="document">The <see cref="XmlDocument"/> where to save the data.</param>134 /// <param name="persistedObjects">The dictionary of all already persisted objects.135 /// (Needed to avoid cycles.)</param>136 /// <returns>The saved <see cref="XmlNode"/>.</returns>137 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {138 XmlNode node = base.GetXmlNode(name, document, persistedObjects);139 node.AppendChild(PersistenceManager.Persist("NumberOfLines", myNumberOfLines, document, persistedObjects));140 node.AppendChild(PersistenceManager.Persist("Values", Values, document, persistedObjects));141 return node;142 }143 /// <summary>144 /// Loads the persisted item from the specified <paramref name="node"/>.145 /// </summary>146 /// <remarks>Has to be saved in a special way, see <see cref="GetXmlNode"/> for further information.</remarks>147 /// <param name="node">The <see cref="XmlNode"/> where the Linechart is saved.</param>148 /// <param name="restoredObjects">The dictionary of all already restored objects.149 /// (Needed to avoid cycles.)</param>150 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {151 base.Populate(node, restoredObjects);152 myNumberOfLines = (IntData)PersistenceManager.Restore(node.SelectSingleNode("NumberOfLines"), restoredObjects);153 myValues = (ItemList)PersistenceManager.Restore(node.SelectSingleNode("Values"), restoredObjects);154 }155 #endregion156 128 } 157 129 } -
trunk/sources/HeuristicLab.Logging/3.3/Log.cs
r1530 r1872 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 29 30 namespace HeuristicLab.Logging { … … 32 33 /// </summary> 33 34 public class Log : ItemBase, IVisualizationItem { 35 [Storable] 34 36 private ItemList myItems; 35 37 /// <summary> … … 86 88 ItemsChanged(this, new EventArgs()); 87 89 } 88 89 #region Persistence Methods90 /// <summary>91 /// Saves the current instance as <see cref="XmlNode"/> in the specified <paramref name="document"/>.92 /// </summary>93 /// <remarks>The items of the current instance are saved as a child node with the tag name94 /// <c>Items</c>.</remarks>95 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param>96 /// <param name="document">The <see cref="XmlDocument"/> where to save the data.</param>97 /// <param name="persistedObjects">The dictionary of all already persisted objects.98 /// (Needed to avoid cycles.)</param>99 /// <returns>The saved <see cref="XmlNode"/>.</returns>100 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {101 XmlNode node = base.GetXmlNode(name, document, persistedObjects);102 node.AppendChild(PersistenceManager.Persist("Items", Items, document, persistedObjects));103 return node;104 }105 /// <summary>106 /// Loads the persisted item from the specified <paramref name="node"/>.107 /// </summary>108 /// <remarks>Has to be saved in a special way, see <see cref="GetXmlNode"/> for further information.</remarks>109 /// <param name="node">The <see cref="XmlNode"/> where the Log is saved.</param>110 /// <param name="restoredObjects">The dictionary of all already restored objects.111 /// (Needed to avoid cycles.)</param>112 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {113 base.Populate(node, restoredObjects);114 myItems = (ItemList)PersistenceManager.Restore(node.SelectSingleNode("Items"), restoredObjects);115 }116 #endregion117 90 } 118 91 } -
trunk/sources/HeuristicLab.Logging/3.3/PointXYChart.cs
r1530 r1872 26 26 using HeuristicLab.Core; 27 27 using HeuristicLab.Data; 28 using HeuristicLab.Persistence.Default.CompositeSerializers.Storable; 28 29 29 30 namespace HeuristicLab.Logging { … … 32 33 /// </summary> 33 34 public class PointXYChart : ItemBase, IVisualizationItem { 35 [Storable] 34 36 private ItemList myValues; 35 37 /// <summary> … … 47 49 } 48 50 51 [Storable] 49 52 private BoolData myConnectDots; 50 53 /// <summary> … … 124 127 ConnectDotsChanged(this, new EventArgs()); 125 128 } 126 127 #region Persistence Methods128 /// <summary>129 /// Saves the current instance as <see cref="XmlNode"/> in the specified <paramref name="document"/>.130 /// </summary>131 /// <remarks>The ConnectDots flag and the values of the current instance are saved as child nodes132 /// with tag names <c>ConnectDots</c> and <c>Values</c> respectively.</remarks>133 /// <param name="name">The (tag)name of the <see cref="XmlNode"/>.</param>134 /// <param name="document">The <see cref="XmlDocument"/> where to save the data.</param>135 /// <param name="persistedObjects">The dictionary of all already persisted objects.136 /// (Needed to avoid cycles.)</param>137 /// <returns>The saved <see cref="XmlNode"/>.</returns>138 public override XmlNode GetXmlNode(string name, XmlDocument document, IDictionary<Guid, IStorable> persistedObjects) {139 XmlNode node = base.GetXmlNode(name, document, persistedObjects);140 node.AppendChild(PersistenceManager.Persist("ConnectDots",ConnectDots,document,persistedObjects));141 node.AppendChild(PersistenceManager.Persist("Values", Values, document, persistedObjects));142 return node;143 }144 /// <summary>145 /// Loads the persisted item from the specified <paramref name="node"/>.146 /// </summary>147 /// <remarks>Has to be saved in a special way, see <see cref="GetXmlNode"/> for further information.</remarks>148 /// <param name="node">The <see cref="XmlNode"/> where the PointXYChart is saved.</param>149 /// <param name="restoredObjects">The dictionary of all already restored objects.150 /// (Needed to avoid cycles.)</param>151 public override void Populate(XmlNode node, IDictionary<Guid, IStorable> restoredObjects) {152 base.Populate(node, restoredObjects);153 myConnectDots = (BoolData)PersistenceManager.Restore(node.SelectSingleNode("ConnectDots"), restoredObjects);154 myValues = (ItemList)PersistenceManager.Restore(node.SelectSingleNode("Values"), restoredObjects);155 }156 #endregion157 129 } 158 130 } -
trunk/sources/HeuristicLab.Logging/3.3/Properties/AssemblyInfo.frame
r581 r1872 54 54 // You can specify all the values or you can default the Revision and Build Numbers 55 55 // by using the '*' as shown below: 56 [assembly: AssemblyVersion("3. 2.0.$WCREV$")]57 [assembly: AssemblyFileVersion("3. 2.0.$WCREV$")]56 [assembly: AssemblyVersion("3.3.0.$WCREV$")] 57 [assembly: AssemblyFileVersion("3.3.0.$WCREV$")] 58 58 [assembly: AssemblyBuildDate("$WCNOW$")]
Note: See TracChangeset
for help on using the changeset viewer.