StoneKit.Core.Common 2024.1.1.261665

There is a newer version of this package available.
See the version list below for details.
dotnet add package StoneKit.Core.Common --version 2024.1.1.261665                
NuGet\Install-Package StoneKit.Core.Common -Version 2024.1.1.261665                
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="StoneKit.Core.Common" Version="2024.1.1.261665" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add StoneKit.Core.Common --version 2024.1.1.261665                
#r "nuget: StoneKit.Core.Common, 2024.1.1.261665"                
#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 StoneKit.Core.Common as a Cake Addin
#addin nuget:?package=StoneKit.Core.Common&version=2024.1.1.261665

// Install StoneKit.Core.Common as a Cake Tool
#tool nuget:?package=StoneKit.Core.Common&version=2024.1.1.261665                

StoneKit Common Utilities and Extension methods

License

Installation

You can install by using NuGet:

PM> Install-Package StoneKit.Core.Common

Extension Methods:*

Enumerable:
int Count(this IEnumerable source)
bool IsNullOrEmpty<T>(this IEnumerable<T> value)
void Iter<T>(this IEnumerable<T> value, Action<T> action) // Apply the given function to each element of the collection
void IterSafe<T>(this IEnumerable<T> value, Action<T> action, Action<Exception> exceptionHandler = null!)


bool IsNotNull(this object obj)
bool IsNull(this object obj)
Type CreateType(TypeBuilder typeBuilder)
Type? GetCollectionItemType(this Type type)
ConstructorInfo? GetDefaultCtor(this Type type)
KeyValuePair<Type, Type> GetDictionaryItemTypes(this Type type)
MethodInfo? GetGenericMethod(this Type type, string methodName, params Type[] arguments)
bool HasDefaultCtor(this Type type)
bool IsDictionaryOf(this Type type)
bool IsIEnumerable(this Type type)
bool IsIEnumerableOf(this Type type)
bool IsListOf(this Type type)
bool IsNullable(this Type type)

Dictionary:
TValue? GetOrDefault<TKey, TValue>(this IDictionary<TKey, TValue> value, TKey key)
void TryAdd<TKey, TValue>(this Dictionary<TKey, TValue>? dictionary, Dictionary<TKey, TValue>? itemsToAdd)


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.
  • net8.0

    • No dependencies.

NuGet packages (3)

Showing the top 3 NuGet packages that depend on StoneKit.Core.Common:

Package Downloads
StoneKit.Core.Structs.TypePair

Represents a pair of types used for object mapping and type conversion

StoneKit.TransverseMapper

Transverse - Fastest and quickest object mapper for dotnet

StoneKit.Trustee.Providers.Git

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2024.1.1.391401 85 10/5/2024
2024.1.1.305385 101 8/5/2024
2024.1.1.268769 92 7/9/2024
2024.1.1.261674 86 7/4/2024
2024.1.1.261665 93 7/4/2024
2024.1.1.261631 84 7/4/2024
2024.1.1.260673 90 7/3/2024
2024.1.1.260489 104 7/3/2024
2024.1.1.260485 89 7/3/2024
1.24.703.180756 291 7/3/2024
1.24.703.164605 239 7/3/2024
1.24.703.121207 444 7/3/2024
1.24.626.192706 102 6/26/2024
1.24.612.859 94 6/11/2024
1.24.611.233127 95 6/11/2024
1.24.611.232750 94 6/11/2024
1.24.603.121931 72 6/3/2024
1.24.317.170729 139 3/17/2024
1.24.317.170542 109 3/17/2024
1.24.317.164648 110 3/17/2024
1.24.317.161355 120 3/17/2024
1.24.121.184215 116 1/21/2024
1.24.121.182729 104 1/21/2024
1.23.1205.143419 152 12/5/2023
1.23.1205.132044 190 12/5/2023
1.23.1205.121843 149 12/5/2023
1.23.1205.121044 138 12/5/2023
1.23.1204.161651 126 12/4/2023
1.23.1204.155354 130 12/4/2023
1.23.1204.150604 139 12/4/2023
1.23.1201.144009 143 12/1/2023
1.23.1201.140752 133 12/1/2023
1.23.1201.135107 117 12/1/2023
1.23.1201.134243 112 12/1/2023
1.23.1201.104446 806 12/1/2023
1.0.3 1,297 11/30/2023