MConfig.Mahdi72 1.12.8

Simple and Fast Library for Save and Read Application Settings in App.Config file

Install-Package MConfig.Mahdi72 -Version 1.12.8
dotnet add package MConfig.Mahdi72 --version 1.12.8
<PackageReference Include="MConfig.Mahdi72" Version="1.12.8" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MConfig.Mahdi72 --version 1.12.8
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Save Settings OR Update Exist Settings

 Configuration configuration = new Configuration();
//Bool
            configuration.AddUpdateAppSettings("Startup", true);
//OR
//Int
            configuration.AddUpdateAppSettings("DefaultVal", 77);
//OR
//String
            configuration.AddUpdateAppSettings("StringVal", "Registered");

Read Settings

 Configuration configuration = new Configuration();

Console.WriteLine(configuration.ReadSetting("Startup"));

Save Settings OR Update Exist Settings

 Configuration configuration = new Configuration();
//Bool
            configuration.AddUpdateAppSettings("Startup", true);
//OR
//Int
            configuration.AddUpdateAppSettings("DefaultVal", 77);
//OR
//String
            configuration.AddUpdateAppSettings("StringVal", "Registered");

Read Settings

 Configuration configuration = new Configuration();

Console.WriteLine(configuration.ReadSetting("Startup"));

Release Notes

Nothing.

Dependencies

This package has no dependencies.

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.12.8 320 12/19/2017