MagmaMc.MagmaSimpleConfig
2.0.1
See the version list below for details.
dotnet add package MagmaMc.MagmaSimpleConfig --version 2.0.1
NuGet\Install-Package MagmaMc.MagmaSimpleConfig -Version 2.0.1
<PackageReference Include="MagmaMc.MagmaSimpleConfig" Version="2.0.1" />
paket add MagmaMc.MagmaSimpleConfig --version 2.0.1
#r "nuget: MagmaMc.MagmaSimpleConfig, 2.0.1"
// Install MagmaMc.MagmaSimpleConfig as a Cake Addin #addin nuget:?package=MagmaMc.MagmaSimpleConfig&version=2.0.1 // Install MagmaMc.MagmaSimpleConfig as a Cake Tool #tool nuget:?package=MagmaMc.MagmaSimpleConfig&version=2.0.1
MagmaMc.MagmaSimpleConfig
Fully Compatible with INI And TOML Files Converts basic Values Back Into its dedicated object
Just Simple And Fast
Example
using MagmaMc.MagmaSimpleConfig
public class Program
{
public static void Main(string[] ConsoleArgs)
{
// Load Config File and fail if file does not exist
SimpleConfig MSC = new SimpleConfig("example.msc", false);
Console.Write("Enter Value For Key Test1:"); // I Enter: "ImportantValue1"
string Value1 = Console.ReadLine();
MSC.SetValue("Test1", Value1, ".ENV");
Console.WriteLine("\n Value=" + MSC.GetValue("Test1", null, ".ENV"));
// Output: "ImportantValue1"
MSC.SetValue("array1", new string[] {"Value1", "Value2" }, ".ENV");
}
}
example.msc
[.ENV]
Test1 => ImportantValue1
array1 => ["value1", "value2"]
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
.NET Framework | net35 is compatible. net40 was computed. net403 was computed. net45 was computed. 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. |
-
.NETFramework 3.5
- No dependencies.
-
net5.0
- No dependencies.
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MagmaMc.MagmaSimpleConfig:
Package | Downloads |
---|---|
MagmaMc.UAS
A Library Containing all scripts for Magma's Universal Account System |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
2.1.1 | 555 | 6/5/2023 |
2.1.0 | 485 | 6/4/2023 |
2.0.1 | 519 | 6/3/2023 |
1.0.0 | 607 | 3/15/2023 |
0.3.0 | 609 | 2/18/2023 |
0.2.12 | 631 | 1/5/2023 |
0.2.11 | 682 | 1/4/2023 |
0.2.1 | 653 | 1/4/2023 |
0.2.0 | 666 | 1/4/2023 |
0.1.3 | 676 | 1/4/2023 |
0.1.2 | 660 | 1/2/2023 |
0.1.1 | 620 | 1/2/2023 |
0.1.0.4 | 640 | 1/2/2023 |
0.1.0 | 680 | 1/2/2023 |
0.0.31 | 639 | 1/1/2023 |
0.0.3 | 599 | 1/1/2023 |
Version 2.0.0;
* Added Option For AES Encryption
* Full Code Rework
* Faster
* Removed Obsolete Code
* Removed Auto Value Converter To GetValue
* Removed Support For Ini And TOML Files For Code Maintainability
* Fixed Default Value In GetValue Being Broken
* Fixed Crashing On Adding More Than One Section
* Fixed