ConfigurationFileIO 1.0.0
See the version list below for details.
dotnet add package ConfigurationFileIO --version 1.0.0
NuGet\Install-Package ConfigurationFileIO -Version 1.0.0
<PackageReference Include="ConfigurationFileIO" Version="1.0.0" />
paket add ConfigurationFileIO --version 1.0.0
#r "nuget: ConfigurationFileIO, 1.0.0"
// Install ConfigurationFileIO as a Cake Addin
#addin nuget:?package=ConfigurationFileIO&version=1.0.0
// Install ConfigurationFileIO as a Cake Tool
#tool nuget:?package=ConfigurationFileIO&version=1.0.0
ConfigurationFileIO
Features and quick reference to the package functionality:
Store settings of an application to a configuration file. Settings can have a category, a name and a value. Retrieve settings by specifying the category and name. Custom delimiter supported in case the default one (=) is required in the settings names.
Supported value types: string, int, double, boolean.
Example usage C#:
// Read settings from a configuration file. ConfigurationFile configurationFile = new ConfigurationFile("settings.cfg"); configurationFile.ReadSettings();
// Get the value for a setting with name AutoLogin in category LogIn. bool autoLogin = configurationFile.getSettingValue("LogIn", "AutoLogin").AsBoolean(); // Change the value. configurationFile.setSettingValue("LogIn", "AutoLogin", true);
// Add a new setting AutoLoginUsername. ConfigurationFile.AddNewSetting("LogIn", "AutoLoginUsername", "User");
// Save the configuration file with the changes. configurationFile.SaveSettings();
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- 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.