QualisysConfig 1.0.3

dotnet add package QualisysConfig --version 1.0.3
NuGet\Install-Package QualisysConfig -Version 1.0.3
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="QualisysConfig" Version="1.0.3" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QualisysConfig --version 1.0.3
#r "nuget: QualisysConfig, 1.0.3"
#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 QualisysConfig as a Cake Addin
#addin nuget:?package=QualisysConfig&version=1.0.3

// Install QualisysConfig as a Cake Tool
#tool nuget:?package=QualisysConfig&version=1.0.3

Qualisys Configuration

Configuration example:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
  <connectionStrings>
    <add name="Connection" connectionString=""/>
  </connectionStrings>
  <appSettings>
    <add key="string" value="string"></add>
    <add key="char" value="c"></add>
    <add key="int" value="1"></add>
    <add key="long" value="123456789"></add>
    <add key="float" value="1.5"></add>
    <add key="double" value="1.5"></add>
    <add key="decimal" value="1.5"></add>
    <add key="date" value="13/12/2017"></add>
    <add key="bool" value="True"></add>
    <add key="enum" value="ENUM_A"></add>
  </appSettings>
</configuration>
Basic use example:
using System;
using QualisysConfig;

public class Program
{
	public static void Main()
	{
            string lStrValue = QsConfig.GetValue<string>("string");
            char lChrValue = QsConfig.GetValue<char>("char");
            int lIntValue = QsConfig.GetValue<int>("int");
            long lLonValue = QsConfig.GetValue<long>("long");
            float lFltValue = QsConfig.GetValue<float>("float");
            double lFltValue = QsConfig.GetValue<double>("double");
            decimal lDmlValue = QsConfig.GetValue<decimal>("decimal");
            DateTime lDtmValue = QsConfig.GetValue<DateTime>("date");
            bool lBolValue = QsConfig.GetValue<bool>("bool");
            SampleEnum lEnmValue = QsConfig.GetValue<SampleEnum>("enum");
	}
}

public enum SampleEnum
{
    ENUM_A,
    ENUM_B,
    ENUM_C
}

See code on GitHub

Product Compatible and additional computed target framework versions.
.NET Framework net40 is compatible.  net403 was computed.  net45 is compatible.  net451 is compatible.  net452 is compatible.  net46 is compatible.  net461 is compatible.  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 (1)

Showing the top 1 NuGet packages that depend on QualisysConfig:

Package Downloads
QualisysLog

Utilería para escribir logs

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.3 1,404 5/3/2018
1.0.2 1,037 2/28/2018
1.0.1 990 2/27/2018
1.0.0 870 2/26/2018