Marqdouj.CLRCommon
8.2.0
dotnet add package Marqdouj.CLRCommon --version 8.2.0
NuGet\Install-Package Marqdouj.CLRCommon -Version 8.2.0
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="Marqdouj.CLRCommon" Version="8.2.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Marqdouj.CLRCommon --version 8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Marqdouj.CLRCommon, 8.2.0"
#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 Marqdouj.CLRCommon as a Cake Addin #addin nuget:?package=Marqdouj.CLRCommon&version=8.2.0 // Install Marqdouj.CLRCommon as a Cake Tool #tool nuget:?package=Marqdouj.CLRCommon&version=8.2.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
CLRCommon
CLRCommon is a collection of helper utilities and classes for .NET development.
Release Notes
v8.2.0
- Updated Comments
- added ListExtensions / IEnumerableExtensions
- ToDataTable - converts a list of objects to a DataTable
- added PathExtensions
- GetPath - returns the path of a known folder not supported by Environment.SpecialFolder
- currently only supports Downloads folder
- GetPath - returns the path of a known folder not supported by Environment.SpecialFolder
- added StringExtensions
- IsNumeric - determines if a string is numeric
- IsPositiveInteger - determines if a string is a positive integer
- Left - returns the leftmost characters of a string (Mimics VB's Left function))
- Right - returns the rightmost characters of a string (Mimics VB's Right function))
- ToBoolOrNull - converts a string to a Boolean or null (supports Y/N, YES/NO, 1/-1))
- ToDecimal - converts a string to a decimal
- ToDecimalOrNull - converts a string to a decimal or null
- ToDecimalOrValue - converts a string to a decimal or a specified default value
- ToDouble - converts a string to a double
- ToDoubleOrNull - converts a string to a double or null
- ToDoubleOrValue - converts a string to a double or a specified default value
- ToInt32 - converts a string to an integer
- ToInt32OrNull - converts a string to an integer or null
- ToInt32OrValue - converts a string to an integer or a specified default value
- ToInt32List - converts a delimited string to a list of integers
- ToInt64 - converts a string to a long
- ToInt64OrNull - converts a string to a long or null
- ToInt64OrValue - converts a string to a long or a specified default value
- ToInt64List - converts a delimited string to a list of longs
- ToTitleCase - converts a string to title case using a specified culture
- Truncate - truncates a string to a specified length
- added Paging helper class
- PagedData<T> - a class to hold the results for paged data
- PagedRange - a class to calculate a range of pages
- PageInfo - a class to hold paging information
v8.1.1
- added MinMaxN<T> / INumber<T>: ensures a value is within a min/max range
- added ExceptionExtensions
- ToMessage - returns the message of an exception and all inner exceptions
- ToMessages - returns the message of an exception and all inner exceptions as a list
v8.1.0
- BREAKING CHANGES.
- StateContainer: Changed OnChange to StateChanged; added INotifyPropertyChanged support/PropertyChanged
Product | Versions 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 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.