StoneKit.Core.Common 2024.1.1.261631

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.261631                
NuGet\Install-Package StoneKit.Core.Common -Version 2024.1.1.261631                
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.261631" />                
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.261631                
#r "nuget: StoneKit.Core.Common, 2024.1.1.261631"                
#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.261631

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

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 98 10/5/2024
2024.1.1.305385 112 8/5/2024
2024.1.1.268769 99 7/9/2024
2024.1.1.261674 97 7/4/2024
2024.1.1.261665 103 7/4/2024
2024.1.1.261631 93 7/4/2024
2024.1.1.260673 98 7/3/2024
2024.1.1.260489 113 7/3/2024
2024.1.1.260485 96 7/3/2024
1.24.703.180756 301 7/3/2024
1.24.703.164605 249 7/3/2024
1.24.703.121207 455 7/3/2024
1.24.626.192706 113 6/26/2024
1.24.612.859 100 6/11/2024
1.24.611.233127 104 6/11/2024
1.24.611.232750 101 6/11/2024
1.24.603.121931 79 6/3/2024
1.24.317.170729 144 3/17/2024
1.24.317.170542 114 3/17/2024
1.24.317.164648 115 3/17/2024
1.24.317.161355 127 3/17/2024
1.24.121.184215 122 1/21/2024
1.24.121.182729 110 1/21/2024
1.23.1205.143419 158 12/5/2023
1.23.1205.132044 196 12/5/2023
1.23.1205.121843 154 12/5/2023
1.23.1205.121044 143 12/5/2023
1.23.1204.161651 131 12/4/2023
1.23.1204.155354 135 12/4/2023
1.23.1204.150604 146 12/4/2023
1.23.1201.144009 149 12/1/2023
1.23.1201.140752 141 12/1/2023
1.23.1201.135107 123 12/1/2023
1.23.1201.134243 118 12/1/2023
1.23.1201.104446 814 12/1/2023
1.0.3 1,304 11/30/2023