NetProperty 2.0.0
See the version list below for details.
dotnet add package NetProperty --version 2.0.0
NuGet\Install-Package NetProperty -Version 2.0.0
<PackageReference Include="NetProperty" Version="2.0.0" />
paket add NetProperty --version 2.0.0
#r "nuget: NetProperty, 2.0.0"
// Install NetProperty as a Cake Addin #addin nuget:?package=NetProperty&version=2.0.0 // Install NetProperty as a Cake Tool #tool nuget:?package=NetProperty&version=2.0.0
A .NET library for reading property files.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
=== New in 2.0 ===
* Add new constructors to PropertyFile:
* PropertyFile(int) to specify initial property capacity.
* Updated the file and stream constructors to add the ability to specify an encoding
and whether or not to treat empty values as null.
* Make some minor changes to and deprecate serialization stuff (for now).
* More error checking in PropertyAttribute(string, Type).
* Add PropertyAttribute(Type). (This will use the name of field/property when serializing and deserializing).
* Add AttributeUsage to PropertyAttribute (fields and properties only).
* Add property converters (NetProperty.Serialization.PropertyConverter) for serialization and
deserialization.
* Ability to deserialize into a provided type.
* Make SetProperty and GetProperty return error-values instead of throwing exceptions.
* Add the ability to treat empty values as null when loading from files and streams.
* Saving properties with null values will result in them having an empty assignment.
- For example, if property "name" has null as its value, the property's output in a file would look like "name ~"
* Fix memory leaks in Load(string, Encoding) and Save(string, Encoding).
* Documentation updates.
* Minor fixes.