Changeset 17105 for stable/HeuristicLab.Persistence/3.3
- Timestamp:
- 07/08/19 00:23:12 (5 years ago)
- Location:
- stable
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
stable
-
stable/HeuristicLab.Persistence
- Property svn:mergeinfo changed
/trunk/HeuristicLab.Persistence merged: 16585,16595,16625,16658,16796-16797,16799,16945
- Property svn:mergeinfo changed
-
stable/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableMemberInfo.cs
r17097 r17105 41 41 } 42 42 public StorableMemberInfo(StorableAttribute attribute, MemberInfo memberInfo) { 43 DisentangledName = attribute.Name;43 DisentangledName = string.IsNullOrEmpty(attribute.OldName) ? attribute.Name : attribute.OldName; 44 44 DefaultValue = attribute.DefaultValue; 45 45 MemberInfo = memberInfo; 46 if ( !attribute.AllowOneWay)46 if (string.IsNullOrEmpty(attribute.OldName) && !attribute.AllowOneWay) 47 47 CheckPropertyAccess(memberInfo as PropertyInfo); 48 48 } -
stable/HeuristicLab.Persistence/3.3/Default/CompositeSerializers/Storable/StorableSerializer.cs
r17097 r17105 34 34 /// <summary> 35 35 /// Intended for serialization of all custom classes. Classes should have the 36 /// <c>[Storable Class]</c> attribute set. The default mode is to serialize36 /// <c>[StorableType]</c> attribute set. The default mode is to serialize 37 37 /// members with the <c>[Storable]</c> attribute set. Alternatively the 38 38 /// storable mode can be set to <c>AllFields</c>, <c>AllProperties</c> -
stable/HeuristicLab.Persistence/3.3/Default/Xml/XmlParser.cs
r17097 r17105 288 288 } 289 289 } 290 291 /// <summary> 292 /// Checks if the given file can be opened as <see cref="ZipArchive" />. 293 /// </summary> 294 /// <param name="filename">The filename.</param> 295 /// <returns><see langword="true" /> if the file can be opened as <see cref="ZipArchive" />; otherwise, <see langword="false" />.</returns> 296 public static bool CanOpen(string filename) { 297 try { 298 using (FileStream fs = new FileStream(filename, FileMode.Open, FileAccess.Read)) { 299 using (ZipArchive zip = new ZipArchive(fs)) { 300 return true; 301 } 302 } 303 } catch (InvalidDataException) { 304 return false; 305 } 306 } 290 307 } 291 308 } -
stable/HeuristicLab.Persistence/3.3/HeuristicLab.Persistence-3.3.csproj
r17097 r17105 116 116 </Target> 117 117 <ItemGroup> 118 <Reference Include="Google.Protobuf, Version=3.6.1.0, Culture=neutral, PublicKeyToken=a7d26565bac4d604, processorArchitecture=MSIL">119 <HintPath>..\..\packages\Google.Protobuf.3.6.1\lib\net45\Google.Protobuf.dll</HintPath>120 </Reference>121 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL">122 <HintPath>..\..\packages\HEAL.Attic.1.0.0-pre02\lib\net461\HEAL.Attic.dll</HintPath>123 </Reference>124 118 <Reference Include="System" /> 125 119 <Reference Include="System.configuration" /> … … 129 123 <Reference Include="System.Data" /> 130 124 <Reference Include="System.Drawing" /> 131 <Reference Include="System.Drawing.Common, Version=4.0.0.1, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51, processorArchitecture=MSIL">132 <HintPath>..\..\packages\System.Drawing.Common.4.5.1\lib\net461\System.Drawing.Common.dll</HintPath>133 </Reference>134 125 <Reference Include="System.IO.Compression" /> 135 126 <Reference Include="System.Xml" /> … … 141 132 <Compile Include="Auxiliary\TypeNameParser.cs" /> 142 133 <Compile Include="Auxiliary\ReflectionTools.cs" /> 143 <None Include="packages.config" />144 134 <None Include="Plugin.cs.frame" /> 145 135 <Compile Include="Core\Configuration.cs" /> … … 311 301 <Folder Include="Transformers\" /> 312 302 </ItemGroup> 303 <ItemGroup> 304 <Reference Include="HEAL.Attic, Version=1.0.0.0, Culture=neutral, PublicKeyToken=ba48961d6f65dcec, processorArchitecture=MSIL"> 305 <SpecificVersion>False</SpecificVersion> 306 <HintPath>..\..\bin\HEAL.Attic.dll</HintPath> 307 <Private>False</Private> 308 </Reference> 309 </ItemGroup> 313 310 </Project> -
stable/HeuristicLab.Persistence/3.3/Plugin.cs.frame
r17097 r17105 29 29 [Plugin("HeuristicLab.Persistence", "3.3.15.$WCREV$")] 30 30 [PluginFile("HeuristicLab.Persistence-3.3.dll", PluginFileType.Assembly)] 31 [PluginFile("HEAL.Attic.dll", PluginFileType.Assembly)]32 [PluginFile("Google.Protobuf.dll", PluginFileType.Assembly)]33 [PluginFile("System.Drawing.Common.dll", PluginFileType.Assembly)]34 31 [PluginDependency("HeuristicLab.Tracing", "3.3")] 32 [PluginDependency("HeuristicLab.Attic", "1.0")] 35 33 public class HeuristicLabPersistencePlugin : PluginBase { } 36 34 }
Note: See TracChangeset
for help on using the changeset viewer.