MagmaMc.MagmaSimpleConfig
2.1.1
.NET 5.0
This package targets .NET 5.0. The package is compatible with this framework or higher.
.NET Framework 3.5
This package targets .NET Framework 3.5. The package is compatible with this framework or higher.
dotnet add package MagmaMc.MagmaSimpleConfig --version 2.1.1
NuGet\Install-Package MagmaMc.MagmaSimpleConfig -Version 2.1.1
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="MagmaMc.MagmaSimpleConfig" Version="2.1.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add MagmaMc.MagmaSimpleConfig --version 2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MagmaMc.MagmaSimpleConfig, 2.1.1"
#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 MagmaMc.MagmaSimpleConfig as a Cake Addin #addin nuget:?package=MagmaMc.MagmaSimpleConfig&version=2.1.1 // Install MagmaMc.MagmaSimpleConfig as a Cake Tool #tool nuget:?package=MagmaMc.MagmaSimpleConfig&version=2.1.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
.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.1.1;
Allow Eding Of AES Strength