VersaTul.Configurations 1.0.15

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
dotnet add package VersaTul.Configurations --version 1.0.15
NuGet\Install-Package VersaTul.Configurations -Version 1.0.15
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="VersaTul.Configurations" Version="1.0.15" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add VersaTul.Configurations --version 1.0.15
#r "nuget: VersaTul.Configurations, 1.0.15"
#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 VersaTul.Configurations as a Cake Addin
#addin nuget:?package=VersaTul.Configurations&version=1.0.15

// Install VersaTul.Configurations as a Cake Tool
#tool nuget:?package=VersaTul.Configurations&version=1.0.15

Configuration

Configuration is a project that enables the ability to get the values of the specified keys stored in the settings dictionary. It is based on the DOTNET IConfiguration interface and can be used in VersaTul projects or other custom projects.

Installation

To use Configuration, first install it using nuget:

nuget install Configuration

Usage

To use Configuration, you need to inherit from the abstract classes Configuration and AppConfiguration, and implement the IConfiguration and IAppConfiguration interfaces. Then, you can use the Get<T> and GetOrDefault<T> methods to access the values of the keys stored in the settings dictionary.

For example:

using Configuration;

public class MyConfiguration : Configuration, IConfiguration
{
    public MyConfiguration(string configFilePath) : base(configFilePath) { }

    public string Name => Get<string>();
    public int Age => GetOrDefault<int>();
}

public class MyAppConfiguration : AppConfiguration, IAppConfiguration
{
    public MyAppConfiguration(string configFilePath) : base(configFilePath) { }

    public MyConfiguration MyConfig => Get<MyConfiguration>();
}

Documentation

For more information, please refer to the official documentation.

License

Configuration is licensed under the MIT License.

Product Compatible and additional computed target framework versions.
.NET 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (8)

Showing the top 5 NuGet packages that depend on VersaTul.Configurations:

Package Downloads
VersaTul.Data.Sql The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The VersaTul Data Sql project provides the ability to quickly create database access objects, usable on any suppporting SQL databases. This project is built on top of the System.Data.Common namespace and provides the functionality to quickly call stored procedures or plain text sql queries, then map the result into data objects using the provided helper methods.

VersaTul.Logger.File The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The VersaTul Logger File project provides the functionality needed to performing logging in a flat file. This project implements the ILogger interface from the VersaTul Logger project.

VersaTul.Data.MongoDB The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The VersaTul Data MongoDB project provides functionality for working with Mongo Databases. The project uses the repository design pattern to provide the functionality to Fetch, Add, Update, or Delete data.

VersaTul.Mailer The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The VersaTul Mailer project provides the functionality to send emails messages. This project uses the SMTP protocol to transmit e-mail to a mail receiver.

VersaTul.Caching The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org.

The VersaTul Caching project is designed to provide a simplfied caching interface with the ability to change the underlining caching engine easily and quickly. The default cache engine is built on top of the Microsoft Extensions Caching Memory class, which provides an in memory caching store. This implementation can be easily replaced using the interface provided.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.15 174 4/5/2024
1.0.14 161 4/4/2024
1.0.13 165 4/4/2024
1.0.12 173 3/1/2024
1.0.11 197 2/1/2024
1.0.10 398 1/15/2024
1.0.9 324 1/11/2024
1.0.8 644 7/22/2023