StoneKit.Core.Common 2024.1.1.391401

dotnet add package StoneKit.Core.Common --version 2024.1.1.391401                
NuGet\Install-Package StoneKit.Core.Common -Version 2024.1.1.391401                
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.391401" />                
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.391401                
#r "nuget: StoneKit.Core.Common, 2024.1.1.391401"                
#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.391401

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

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 96 10/5/2024
2024.1.1.305385 110 8/5/2024
2024.1.1.268769 97 7/9/2024
2024.1.1.261674 95 7/4/2024
2024.1.1.261665 100 7/4/2024
2024.1.1.261631 91 7/4/2024
2024.1.1.260673 96 7/3/2024
2024.1.1.260489 111 7/3/2024
2024.1.1.260485 93 7/3/2024
1.24.703.180756 298 7/3/2024
1.24.703.164605 246 7/3/2024
1.24.703.121207 453 7/3/2024
1.24.626.192706 110 6/26/2024
1.24.612.859 98 6/11/2024
1.24.611.233127 102 6/11/2024
1.24.611.232750 98 6/11/2024
1.24.603.121931 77 6/3/2024
1.24.317.170729 142 3/17/2024
1.24.317.170542 112 3/17/2024
1.24.317.164648 113 3/17/2024
1.24.317.161355 125 3/17/2024
1.24.121.184215 119 1/21/2024
1.24.121.182729 107 1/21/2024
1.23.1205.143419 155 12/5/2023
1.23.1205.132044 193 12/5/2023
1.23.1205.121843 152 12/5/2023
1.23.1205.121044 141 12/5/2023
1.23.1204.161651 129 12/4/2023
1.23.1204.155354 133 12/4/2023
1.23.1204.150604 144 12/4/2023
1.23.1201.144009 146 12/1/2023
1.23.1201.140752 138 12/1/2023
1.23.1201.135107 120 12/1/2023
1.23.1201.134243 115 12/1/2023
1.23.1201.104446 811 12/1/2023
1.0.3 1,302 11/30/2023