PklCSharp.Microsoft.Extensions.Configuration 0.2.0

dotnet add package PklCSharp.Microsoft.Extensions.Configuration --version 0.2.0
                    
NuGet\Install-Package PklCSharp.Microsoft.Extensions.Configuration -Version 0.2.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="PklCSharp.Microsoft.Extensions.Configuration" Version="0.2.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="PklCSharp.Microsoft.Extensions.Configuration" Version="0.2.0" />
                    
Directory.Packages.props
<PackageReference Include="PklCSharp.Microsoft.Extensions.Configuration" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add PklCSharp.Microsoft.Extensions.Configuration --version 0.2.0
                    
#r "nuget: PklCSharp.Microsoft.Extensions.Configuration, 0.2.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.
#:package PklCSharp.Microsoft.Extensions.Configuration@0.2.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=PklCSharp.Microsoft.Extensions.Configuration&version=0.2.0
                    
Install as a Cake Addin
#tool nuget:?package=PklCSharp.Microsoft.Extensions.Configuration&version=0.2.0
                    
Install as a Cake Tool

Pkl C#

Pkl — pronounced Pickle — is an embeddable configuration language which provides rich support for data templating and validation.

These packages are C# bindings to pkl to provide a native way to interact with pkl files.

Type mappings

The below table describes how Pkl types are mapped into C# types.

Pkl type C# type
Null null
Boolean bool
String string
Int long
Int8 sbyte
Int16 short
Int32 int
UInt ulong
UInt8 byte
UInt16 ushort
UInt32 uint
Float float
Number double
List<T> T[]
Listing<T> T[]
Map<K, V> Dictionary<K, V>
Mapping<K, V> Dictionary<K, V>
Set<T> HashSet<T>
Pair<A, B> (A, B)
Dynamic dynamic
DataSize Pkl.PklTypes.DataSize
Duration Pkl.PklTypes.Duration
IntSeq Pkl.PklTypes.IntSeq
Class Pkl.PklTypes.Class [1]
TypeAlias Pkl.PklTypes.TypeAlias [1]
Any dynamic
Unions (A|B|C) dynamic [2]
Regex Regex

[1] Pkl.PklTypes.Class and Pkl.PklTypes.TypeAlias only exist for compatibilty purposes because they are possible Pkl runtime values.

[2] If all types within a union are mapped to the same C# type, it can be decoded to that specific type instead of dynamic. For example, a union of "error" | "warning" can be decoded to string, whereas a union of String | Int would need to be decoded to dynamic.

Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  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 is compatible.  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 is compatible.  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.  net9.0 is compatible.  net9.0-android was computed.  net9.0-browser was computed.  net9.0-ios was computed.  net9.0-maccatalyst was computed.  net9.0-macos was computed.  net9.0-tvos was computed.  net9.0-windows was computed.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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
0.2.0 104 8/1/2025
0.1.0 149 6/9/2024