TypeCache 7.4.1

There is a newer version of this package available.
See the version list below for details.
dotnet add package TypeCache --version 7.4.1
                    
NuGet\Install-Package TypeCache -Version 7.4.1
                    
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="TypeCache" Version="7.4.1" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="TypeCache" Version="7.4.1" />
                    
Directory.Packages.props
<PackageReference Include="TypeCache" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add TypeCache --version 7.4.1
                    
#r "nuget: TypeCache, 7.4.1"
                    
#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.
#:package TypeCache@7.4.1
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=TypeCache&version=7.4.1
                    
Install as a Cake Addin
#tool nuget:?package=TypeCache&version=7.4.1
                    
Install as a Cake Tool

TypeCache {$}

sam987883@gmail.com

Source Code

Request Features (or report a bug) (if any)


Faster Reflection

  • System.Type.Create(...)
  • System.Type.FindConstructor(...)
  • System.Type.FindMethod(...)
  • System.Type.FindStaticMethod(...)
  • System.Type.GetFieldValue(...)
  • System.Type.GetPropertyValue(...)
  • System.Type.GetStaticFieldValue(...)
  • System.Type.GetStaticPropertyValue(...)
  • System.Type.InvokeMethod(...)
  • System.Type.InvokeStaticMethod(...)
  • System.Type.SetFieldValue(...)
  • System.Type.SetPropertyValue(...)
  • System.Type.SetStaticFieldValue(...)
  • System.Type.SetStaticPropertyValue(...)
  • System.Reflection.FieldInfo.GetFieldValue(...)
  • System.Reflection.PropertyInfo.GetPropertyValue(...)
  • System.Reflection.MethodInfo.InvokeMethod(...)
  • System.Reflection.FieldInfo.SetFieldValue(...)
  • System.Reflection.PropertyInfo.SetPropertyValue(...)

Better Object Mapping

  • dictionary.Map(...)
  • dictionary.MapToModel(...)
  • model.MapTo(...)
  • model.MapToDictionary(...)

Better Performing Mediator/Mediation

  • TypeCache.Mediation.IAfterRule
  • TypeCache.Mediation.IMediator
  • TypeCache.Mediation.IRequest
  • TypeCache.Mediation.IRule
  • TypeCache.Mediation.IValidationRule
  • TypeCache.Mediation.RuleFactory
  • TypeCache.Mediation.RulesBuilder

Simple Robust Database CRUD Access

  • System.Data.Common.DbCommand.ExecuteReaderAsync(...)
  • System.Data.Common.DbCommand.GetDataTableAsync(...)
  • System.Data.Common.DbCommand.GetJsonArrayAsync(...)
  • System.Data.Common.DbCommand.GetJsonAsync(...)
  • System.Data.Common.DbCommand.GetModelsAsync(...)
  • System.Data.Common.DbCommand.GetStringAsync(...)
  • System.Data.Common.DbCommand.GetValueAsync(...)
  • System.Data.Common.DbDataReader.GetColumns(...)
  • System.Data.Common.DbDataReader.ReadModelsAsync(...)
  • System.Data.Common.DbDataReader.ReadJsonArrayAsync(...)
  • System.Data.Common.DbDataReader.ReadJsonAsync(...)

Helpful Extensions

  • Array/Linq/Enumerator extensions
  • Assertion extensions
  • System.Linq.Expressions extensions
  • System.BitConverter extensions
  • System.Char extensions
  • System.Enum extensions
  • System.ReadOnlySpan<> extensions
  • System.Reflection extensions
  • System.Span<> extensions
  • System.Text.Rune extensions
  • System.Text.StringBuilder extensions
  • Range/Index extensions
  • Time Zone extensions
  • And many more!
Product Compatible and additional computed target framework versions.
.NET net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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.  net10.0 was computed.  net10.0-android was computed.  net10.0-browser was computed.  net10.0-ios was computed.  net10.0-maccatalyst was computed.  net10.0-macos was computed.  net10.0-tvos was computed.  net10.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on TypeCache:

Package Downloads
TypeCache.GraphQL

An easier way to add endpoints to GraphQL: Attribute based GraphQL type generation. Simplified GraphQL DataLoader support. Automatic generation of SQL related endpoints.

TypeCache.Web

Web API access to SQL database data operations: allows the front-end to decide how to retrieve and manipulate data.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.2.0 200 8/24/2025
9.1.2 116 4/25/2025
9.1.1 183 4/23/2025
9.1.0 112 2/23/2025
9.0.2 129 12/15/2024
9.0.1 133 12/6/2024
9.0.0 138 11/26/2024
8.6.0 207 8/24/2025
8.5.1 177 4/24/2025
8.5.0 119 2/24/2025
8.4.3 135 12/15/2024
8.4.2 113 12/6/2024
8.4.1 157 11/26/2024
8.4.0 154 10/28/2024
8.3.1 200 6/21/2024
8.3.0 153 4/17/2024
8.2.1 278 3/20/2024
8.2.0 274 3/19/2024
8.1.3 320 3/8/2024
8.1.2 545 1/31/2024
8.1.1 597 1/31/2024
8.1.0 546 1/31/2024
8.0.1 802 12/20/2023
8.0.0 1,005 12/11/2023
7.5.0 251 3/21/2024
7.4.1 916 11/12/2023
7.4.0 1,083 9/10/2023
7.3.14 1,163 8/13/2023
7.3.13 1,191 7/30/2023
7.3.12 1,210 7/17/2023
7.3.11 1,256 6/14/2023
7.3.10 1,353 3/19/2023
7.3.9 1,296 3/10/2023
7.3.8 1,364 3/10/2023
7.3.6 1,364 1/24/2023
7.3.5 1,399 1/22/2023
7.3.4 1,367 1/18/2023
7.3.3 1,364 1/17/2023
7.3.2 1,391 1/15/2023
7.3.1 1,416 1/11/2023
7.2.6 1,394 12/26/2022
7.2.5 1,449 12/26/2022
7.2.3 1,412 12/25/2022
7.2.2 1,562 12/25/2022
7.2.1 1,385 12/14/2022
7.2.0 1,491 12/14/2022
7.1.3 1,425 12/4/2022
7.1.2 1,414 11/27/2022
7.1.1 1,449 11/23/2022
7.1.0 1,439 11/21/2022
7.0.0 1,408 11/17/2022
6.3.2 1,327 3/19/2023
6.3.1 1,314 3/10/2023
6.3.0 1,385 2/1/2023
6.2.0 1,757 8/17/2022
6.1.3 1,684 4/20/2022
6.1.2 1,776 4/18/2022
6.1.1 1,761 3/27/2022
6.1.0 1,803 3/14/2022
6.0.9 1,646 3/7/2022
6.0.8 1,766 3/7/2022
6.0.7 1,383 1/8/2022
6.0.6 1,552 1/6/2022
6.0.5 1,429 1/4/2022
6.0.4 1,378 1/2/2022
6.0.3 1,548 1/1/2022
6.0.2 1,550 12/21/2021
6.0.1 2,543 11/28/2021
6.0.0 1,573 11/15/2021
1.0.67 1,595 10/24/2021
1.0.66 1,872 10/3/2021
1.0.65 1,725 9/11/2021
1.0.64 1,515 9/10/2021
1.0.63 1,582 9/4/2021
1.0.62 1,687 8/28/2021
1.0.61 1,746 8/15/2021
1.0.60 1,612 8/8/2021
1.0.59 1,477 8/2/2021
1.0.58 1,462 8/2/2021
1.0.57 1,624 8/1/2021
1.0.56 1,601 7/19/2021
1.0.55 1,451 7/18/2021
1.0.54 1,573 7/18/2021
1.0.53 1,521 7/18/2021
1.0.52 1,440 7/14/2021
1.0.51 1,494 7/11/2021
1.0.50 1,614 7/11/2021
1.0.49 1,530 7/2/2021
1.0.48 1,495 6/30/2021
1.0.47 1,650 6/30/2021
1.0.46 1,654 6/18/2021
1.0.45 1,503 6/12/2021
1.0.44 1,601 6/11/2021
1.0.43 1,661 6/10/2021
1.0.42 1,645 6/6/2021
1.0.41 1,582 6/5/2021
1.0.40 1,577 6/1/2021
1.0.39 1,618 5/31/2021
1.0.38 1,685 5/30/2021
1.0.37 1,581 5/30/2021
1.0.36 1,695 4/5/2021
1.0.35 1,680 3/28/2021
1.0.34 1,687 3/22/2021
1.0.33 1,549 3/18/2021
1.0.32 1,681 3/18/2021
1.0.31 1,571 3/17/2021
1.0.30 1,742 3/17/2021
1.0.29 1,620 3/9/2021
1.0.28 1,764 3/7/2021
1.0.27 1,802 3/1/2021
1.0.26 1,606 2/28/2021
1.0.25 1,579 2/26/2021
1.0.24 1,782 2/25/2021
1.0.23 1,705 2/24/2021
1.0.22 1,569 2/21/2021
1.0.21 1,650 2/20/2021
1.0.20 1,708 2/19/2021
1.0.19 1,576 2/2/2021
1.0.18 1,732 1/29/2021
1.0.17 1,794 1/28/2021
1.0.16 1,755 1/23/2021
1.0.15 1,929 12/26/2020
1.0.14 2,341 12/20/2020
1.0.13 2,207 12/20/2020
1.0.12 1,962 8/20/2020
1.0.11 1,997 8/7/2020
1.0.10 2,024 7/28/2020
1.0.9 2,095 7/28/2020
1.0.8 2,099 7/25/2020
1.0.7 2,073 7/21/2020
1.0.6 2,122 7/5/2020
1.0.5 2,140 7/5/2020
1.0.4 2,055 7/4/2020
1.0.3 2,087 7/3/2020
1.0.2 2,078 7/3/2020
1.0.1 2,108 7/2/2020
1.0.0 2,060 6/17/2020