QualisysConfig 1.0.1
There is a newer version of this package available.
See the version list below for details.
See the version list below for details.
dotnet add package QualisysConfig --version 1.0.1
NuGet\Install-Package QualisysConfig -Version 1.0.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="QualisysConfig" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add QualisysConfig --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: QualisysConfig, 1.0.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 QualisysConfig as a Cake Addin
#addin nuget:?package=QualisysConfig&version=1.0.1
// Install QualisysConfig as a Cake Tool
#tool nuget:?package=QualisysConfig&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net is compatible. |
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.