ParsElecom.ConfigManager 1.0.0

dotnet add package ParsElecom.ConfigManager --version 1.0.0                
NuGet\Install-Package ParsElecom.ConfigManager -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ParsElecom.ConfigManager" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ParsElecom.ConfigManager --version 1.0.0                
#r "nuget: ParsElecom.ConfigManager, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ParsElecom.ConfigManager as a Cake Addin
#addin nuget:?package=ParsElecom.ConfigManager&version=1.0.0

// Install ParsElecom.ConfigManager as a Cake Tool
#tool nuget:?package=ParsElecom.ConfigManager&version=1.0.0                

Config Manager

Config manager component for .Net

Sample Config

<?xml version="1.0" encoding="utf-8"?>
<configuration>
  <configSections>
    <sectionGroup name="Global">
      <section name="Proxy" type="System.Configuration.NameValueSectionHandler, System, Version=1.0.3300.0, Culture=neutral, PublicKeyToken=b77a5c561934e089, Custom=null" />
    </sectionGroup>
  </configSections>
  <Global>
    <Proxy>
      <add key="UseProxy" value="False" />
      <add key="Host" value="192.168.1.1" />
      <add key="Port" value="1080" />
      <add key="Auth" value="False" />
      <add key="Username" value="test" />
      <add key="Password" value="test" />
    </Proxy>
  </Global>
</configuration>

Example

using ParsElecom.ConfigManager;

Config config = new Config("Sample.config");
config.GroupName = "Global";
Console.WriteLine(config.GetValue("Proxy", "Host"));

config = new Config("Sample.config");
config.GroupName = "Global";
config.SetValue("Proxy", "Host", "10.10.10.1");

alternate text is missing from this package README image

Product Compatible and additional computed target framework versions.
.NET Framework net47 is compatible.  net471 was computed.  net472 was computed.  net48 is compatible.  net481 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.7

    • No dependencies.
  • .NETFramework 4.8

    • No dependencies.
  • .NETFramework 4.8.1

    • 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.

Version Downloads Last updated
1.0.0 106 10/10/2024