sharpconfig 1.4.0
See the version list below for details.
dotnet add package sharpconfig --version 1.4.0
NuGet\Install-Package sharpconfig -Version 1.4.0
<PackageReference Include="sharpconfig" Version="1.4.0" />
paket add sharpconfig --version 1.4.0
#r "nuget: sharpconfig, 1.4.0"
// Install sharpconfig as a Cake Addin #addin nuget:?package=sharpconfig&version=1.4.0 // Install sharpconfig as a Cake Tool #tool nuget:?package=sharpconfig&version=1.4.0
SharpConfig is an easy-to-use CFG/INI configuration library for .NET.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net20 is compatible. net30 is compatible. net35 is compatible. net40 is compatible. net403 was computed. 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 (8)
Showing the top 5 NuGet packages that depend on sharpconfig:
Package | Downloads |
---|---|
Chuma.AlphaMS.Aliyun
初码-AlphaMS开发库-阿里云库 |
|
Etor.Infrastructure
Package Description |
|
Karpach.Remote.Commands.Base
Base class for Remote Controller commands (Karpach.Remote.Commander) |
|
EasyLOB.Extensions.Ini
EasyLOB Extensions INI |
|
SunamoIni
Work with .ini files used in Windows |
GitHub repositories (2)
Showing the top 2 popular GitHub repositories that depend on sharpconfig:
Repository | Stars |
---|---|
micahmo/WgServerforWindows
Wg Server for Windows (WS4W) is a desktop application that allows running and managing a WireGuard server endpoint on Windows
|
|
ciribob/DCS-SimpleRadioStandalone
An open source Stand alone Radio for DCS integrating with all clickable cockpits and FC3 Aircraft
|
Version | Downloads | Last updated |
---|---|---|
3.2.9.1 | 84,446 | 5/20/2020 |
3.2.9 | 1,643 | 5/19/2020 |
3.2.8 | 108,694 | 4/9/2018 |
3.2.6.1 | 2,683 | 3/8/2018 |
3.2.6 | 2,249 | 3/4/2018 |
3.2.5 | 2,418 | 12/12/2017 |
3.2.4 | 1,736 | 12/11/2017 |
3.2.3 | 1,712 | 12/7/2017 |
3.2.1 | 1,687 | 12/6/2017 |
3.2.0 | 3,100 | 7/7/2017 |
3.1.0 | 3,773 | 3/31/2017 |
3.0.1 | 2,749 | 12/5/2016 |
3.0.0 | 1,689 | 12/4/2016 |
2.1.0 | 5,535 | 11/7/2016 |
2.0.1 | 2,214 | 9/5/2016 |
2.0.0 | 3,001 | 8/21/2016 |
1.5.6 | 5,908 | 7/12/2016 |
1.5.5 | 4,389 | 6/1/2016 |
1.5.4 | 5,174 | 4/21/2016 |
1.5.3 | 1,756 | 4/11/2016 |
1.5.2 | 2,292 | 3/22/2016 |
1.5.1 | 1,733 | 3/4/2016 |
1.5.0 | 1,693 | 3/3/2016 |
1.4.9 | 9,323 | 12/16/2015 |
1.4.8 | 2,253 | 12/4/2015 |
1.4.7 | 1,995 | 11/30/2015 |
1.4.6 | 1,978 | 11/29/2015 |
1.4.4 | 2,296 | 8/28/2015 |
1.4.3 | 4,517 | 3/31/2015 |
1.4.2 | 1,985 | 1/31/2015 |
1.4.1 | 1,780 | 1/30/2015 |
1.4.0 | 2,545 | 9/26/2014 |
1.3.0 | 2,723 | 10/30/2013 |
1.2.0 | 1,969 | 10/29/2013 |
=============================================
ChangeLog for SharpConfig 1.4.
Last version was 1.3.
Author: Cemalettin Dervis
PLEASE NOTE:
This release contains some significant API changes
and may break your existing API in terms of errors!
=============================================
1. General
-----------------------
- Added assemblies for .NET 3.0, 3.5 and 4.5.
- Improved API documentation.
- Added a sample application.
- Internalized some methods that shouldn't be public.
- Comment now allows empty values.
- Improved section parsing in terms of performance and stability.
- SharpConfig now accepts multiple sections and settings
that have the same name (issue #5).
- Changed array bracket symbols from [] to {}.
2. Fixes
-----------------------
- Fixed a bug in the parsing process ( Configuration.Parse() ) that
would not reset the temporary fields when the parsing failed.
- Fixed a potential memory leak in Configuration.(De)SerializeBinary().
3. API Changes
-----------------------
- Changed Configuration and Section to be collections themselves.
It's now possible to iterate through Configuration and Section objects
directly instead of accessing their properties such as "Section" and
"Settings".
- When a section is accessed used Configuration[string] and a section
with the specified name couldn't be found, the configuration will create
a new section, add it to itself and return that instead.
This eases the population of configurations.
Note: this functionality is also implemented in Section[string].
- New types:
- ConfigurationElement class
- Removed types:
- CommentCollection class
- SectionCollection class
- SettingCollection class
- ParseFlags enum.
Parsing options can now be set via static properties of the Configuration class.
- CommentType enum.
Replaced by a char, accessible via the Comment.Symbol property.
- New methods:
- Configuration.LoadFromText()
- Setting.SetValue<T>()
- Renamed methods:
- Configuration.Load(filename) -> Configuration.LoadFromFile()
- Configuration.Load(stream) -> Configuration.LoadFromStream()
- Added encoding overloads for Configuration.Load/Save methods (issue #1).
- Added new static properties to the Configuration class:
- NumberFormat (issue #3)
- IsCaseSensitive
- ValidCommentChars (issue #4)
- Changed the Comment struct to a class.
- Removed pre-comments.
- Changed the Configuration class to be non-sealed.
- Renamed the SettingCategory class to Section.
- Renamed the SettingCategoryCollection class to SectionCollection.
- Added a new property: Setting.ArraySize.
- Improved the Setting.GetValue methods.
You can now use GetValue() to obtain single and array objects.
GetValueArray() has been removed subsequently.
- Added a new method: Section.CreateObject<T>().
- Renamed Section.AssignTo<T>() to MapTo<T>().
- Improved MapTo<T>() and added an overload that specifies
a value for case-sensitive property assignment.