IINI 1.1.0
The owner has unlisted this package.
This could mean that the package is deprecated, has security vulnerabilities or shouldn't be used anymore.
dotnet add package IINI --version 1.1.0
NuGet\Install-Package IINI -Version 1.1.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="IINI" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add IINI --version 1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: IINI, 1.1.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 IINI as a Cake Addin
#addin nuget:?package=IINI&version=1.1.0
// Install IINI as a Cake Tool
#tool nuget:?package=IINI&version=1.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
IINI aka Improved INI or 2INI
This is the .ini format with some syntax improvements. GitHub
PM> Install-Package IINI -Version 1.1.0
C:\> dotnet add package IINI --version 1.1.0
Examples
This is a standard ini file, let it be called 'source.ini'
[Section1]
var1=some text ;Commentary
var2=yet another text #Commentary
[Section2]
var1= ;Empty value
And this is a similar document, but it is a iini, let it be called 'file.2ini'
[Section1]
{
var1=some text; /*Commentary*/
var2=yet another text; /*Commentary*/
};
[Section2] {
var1= /*Empty value*/
};
Usage
C# Code Example:
using System;
using System.IO;
using IINI;
using IINI.Types;
namespace Test
{
class IINITester
{
static void Main()
{
string source = File.ReadAllText("file.2ini");
Iini processed = Iini.deserialize(source);
foreach(Section section in processed.sections) {
Console.WriteLine("Section '{0}':", section.name);
foreach(Variable variable in section.vars)
Console.WriteLine(" {0} = '{1}'", variable.name, variable.value);
Console.WriteLine();
}
}
}
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net45 is compatible. 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.
This package has 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 |
---|
Nothing to do here