VersaTul.Extensions
1.0.13
Prefix Reserved
See the version list below for details.
dotnet add package VersaTul.Extensions --version 1.0.13
NuGet\Install-Package VersaTul.Extensions -Version 1.0.13
<PackageReference Include="VersaTul.Extensions" Version="1.0.13" />
paket add VersaTul.Extensions --version 1.0.13
#r "nuget: VersaTul.Extensions, 1.0.13"
// Install VersaTul.Extensions as a Cake Addin #addin nuget:?package=VersaTul.Extensions&version=1.0.13 // Install VersaTul.Extensions as a Cake Tool #tool nuget:?package=VersaTul.Extensions&version=1.0.13
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 | Versions 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. |
-
net6.0
- VersaTul.Object.Converters (>= 1.0.13)
- VersaTul.Pipeline.Infrastructure (>= 1.0.22)
- VersaTul.Utilities (>= 1.0.14)
-
net7.0
- VersaTul.Object.Converters (>= 1.0.13)
- VersaTul.Pipeline.Infrastructure (>= 1.0.22)
- VersaTul.Utilities (>= 1.0.14)
-
net8.0
- VersaTul.Object.Converters (>= 1.0.13)
- VersaTul.Pipeline.Infrastructure (>= 1.0.22)
- VersaTul.Utilities (>= 1.0.14)
-
net9.0
- VersaTul.Object.Converters (>= 1.0.13)
- VersaTul.Pipeline.Infrastructure (>= 1.0.22)
- VersaTul.Utilities (>= 1.0.14)
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.