StoneKit.Core.Common 1.24.611.232750

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

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

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.305385 44 8/5/2024
2024.1.1.268769 68 7/9/2024
2024.1.1.261674 70 7/4/2024
2024.1.1.261665 73 7/4/2024
2024.1.1.261631 66 7/4/2024
2024.1.1.260673 71 7/3/2024
2024.1.1.260489 81 7/3/2024
2024.1.1.260485 71 7/3/2024
1.24.703.180756 186 7/3/2024
1.24.703.164605 143 7/3/2024
1.24.703.121207 287 7/3/2024
1.24.626.192706 80 6/26/2024
1.24.612.859 73 6/11/2024
1.24.611.233127 69 6/11/2024
1.24.611.232750 73 6/11/2024
1.24.603.121931 65 6/3/2024
1.24.317.170729 111 3/17/2024
1.24.317.170542 86 3/17/2024
1.24.317.164648 93 3/17/2024
1.24.317.161355 96 3/17/2024
1.24.121.184215 95 1/21/2024
1.24.121.182729 83 1/21/2024
1.23.1205.143419 132 12/5/2023
1.23.1205.132044 156 12/5/2023
1.23.1205.121843 124 12/5/2023
1.23.1205.121044 115 12/5/2023
1.23.1204.161651 105 12/4/2023
1.23.1204.155354 107 12/4/2023
1.23.1204.150604 115 12/4/2023
1.23.1201.144009 121 12/1/2023
1.23.1201.140752 110 12/1/2023
1.23.1201.135107 94 12/1/2023
1.23.1201.134243 91 12/1/2023
1.23.1201.104446 542 12/1/2023
1.0.3 985 11/30/2023