VersaTul.Extensions 1.0.15

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

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

VersaTul Extensions

VersaTul Extensions is a project that provides a variety of methods for manipulating arrays, performing conversions and other common functionalities.

Features

  • ArrayExtensions: A class that contains methods for extending arrays, such as picking random items, sorting, filtering, etc.
  • CommonExtensions: A class that contains methods for common functionality, such as converting strings to camel case, checking for null or empty values, etc.
  • ConvertExtensions: A class that contains methods for extending object conversions, such as casting, parsing, cloning, etc.
  • CurrencyExtensions: A class that contains methods for extending currency manipulations, such as converting to micros, formatting, rounding, etc.

Usage

To use the VersaTul Extensions, you need to add the using VersaTul.Extensions; statement to your code. Then you can call the extension methods on any object or collection. For example:

// Pick 3 random items from an array
var array = new[] { 1, 2, 3, 4, 5 };
var result = array.Pick(3);

// Convert a string to camel case
var phrase = "Hello World";
var camelCase = phrase.ToCamelCase();

// Convert an object to a specific type
var value = "123";
var number = value.To<int>();

For more details and examples, please refer to the documentation.

Installation

You can install the VersaTul Extensions from NuGet using the following command:

dotnet add package VersaTul.Extensions

License

This project is licensed under the MIT License - see the LICENSE file for details.

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.  net9.0 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on VersaTul.Extensions:

Package Downloads
VersaTul.Configurations

The VersaTul Configuration project enables the ability to get the values of the specified keys stored in the settings dictionary. Much like the DOTNET IConfiguration interface this configuration project provides a way to cleanly pass settings into an application. The VersaTul projects that needs settings are built on top of Configuration. However this project can be extended to be used in other custom projects as well.

VersaTul.Collection.Streamers

The VersaTul Collection Streamers provides functionality that enables developers to quickly convert a collection of objects in memory into a data-reader that can be used for Bulk inserting data into a SQL Database, or be used to generate flat files. Developers can use the streamers to: 1. Convert a Collection to a Data-Reader. 2. Convert from a Data-Reader to other file formats such as CSV, TAB or Json. 3. Compress converted data into Zip files. 4. Transport the converted data via e-mail. The Streamers project also works with Display Attributes which is used to manipulate the properties on the objects in the collection such as formatting the data or renaming the property with a desired display name.

VersaTul.Task.Scheduler

The VersaTul Task Scheduler project provides functionality to schedule events then listen to and react to those events. This is ideal for windows service type applications that may run tasks based on certain time or day. Events can be scheduled from seconds, minutes, hours, days and many more combinations.

VersaTul.Data.MongoDB

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.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.15 235 12/10/2024
1.0.14 71 12/10/2024
1.0.13 96 12/9/2024
1.0.12 683 4/4/2024
1.0.11 266 4/4/2024
1.0.10 283 3/1/2024
1.0.9 311 2/1/2024
1.0.8 674 1/15/2024
1.0.7 536 1/11/2024
1.0.6 965 7/22/2023