TypeCache 7.4.0

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

// Install TypeCache as a Cake Tool
#tool nuget:?package=TypeCache&version=7.4.0                

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. 
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
8.3.1 132 6/21/2024
8.3.0 123 4/17/2024
8.2.1 232 3/20/2024
8.2.0 245 3/19/2024
8.1.3 291 3/8/2024
8.1.2 518 1/31/2024
8.1.1 547 1/31/2024
8.1.0 507 1/31/2024
8.0.1 776 12/20/2023
8.0.0 879 12/11/2023
7.5.0 217 3/21/2024
7.4.1 887 11/12/2023
7.4.0 1,026 9/10/2023
7.3.14 1,107 8/13/2023
7.3.13 1,143 7/30/2023
7.3.12 1,149 7/17/2023
7.3.11 1,195 6/14/2023
7.3.10 1,285 3/19/2023
7.3.9 1,233 3/10/2023
7.3.8 1,285 3/10/2023
7.3.6 1,300 1/24/2023
7.3.5 1,326 1/22/2023
7.3.4 1,304 1/18/2023
7.3.3 1,278 1/17/2023
7.3.2 1,326 1/15/2023
7.3.1 1,335 1/11/2023
7.2.6 1,323 12/26/2022
7.2.5 1,372 12/26/2022
7.2.3 1,349 12/25/2022
7.2.2 1,408 12/25/2022
7.2.1 1,300 12/14/2022
7.2.0 1,393 12/14/2022
7.1.3 1,363 12/4/2022
7.1.2 1,344 11/27/2022
7.1.1 1,370 11/23/2022
7.1.0 1,373 11/21/2022
7.0.0 1,345 11/17/2022
6.3.2 1,258 3/19/2023
6.3.1 1,244 3/10/2023
6.3.0 1,316 2/1/2023
6.2.0 1,654 8/17/2022
6.1.3 1,600 4/20/2022
6.1.2 1,678 4/18/2022
6.1.1 1,680 3/27/2022
6.1.0 1,704 3/14/2022
6.0.9 1,566 3/7/2022
6.0.8 1,684 3/7/2022
6.0.7 1,283 1/8/2022
6.0.6 1,426 1/6/2022
6.0.5 1,347 1/4/2022
6.0.4 1,294 1/2/2022
6.0.3 1,456 1/1/2022
6.0.2 1,465 12/21/2021
6.0.1 2,460 11/28/2021
6.0.0 1,466 11/15/2021
1.0.67 1,506 10/24/2021
1.0.66 1,787 10/3/2021
1.0.65 1,634 9/11/2021
1.0.64 1,421 9/10/2021
1.0.63 1,492 9/4/2021
1.0.62 1,602 8/28/2021
1.0.61 1,661 8/15/2021
1.0.60 1,527 8/8/2021
1.0.59 1,386 8/2/2021
1.0.58 1,361 8/2/2021
1.0.57 1,528 8/1/2021
1.0.56 1,517 7/19/2021
1.0.55 1,368 7/18/2021
1.0.54 1,469 7/18/2021
1.0.53 1,437 7/18/2021
1.0.52 1,353 7/14/2021
1.0.51 1,387 7/11/2021
1.0.50 1,529 7/11/2021
1.0.49 1,447 7/2/2021
1.0.48 1,409 6/30/2021
1.0.47 1,566 6/30/2021
1.0.46 1,552 6/18/2021
1.0.45 1,401 6/12/2021
1.0.44 1,510 6/11/2021
1.0.43 1,556 6/10/2021
1.0.42 1,548 6/6/2021
1.0.41 1,497 6/5/2021
1.0.40 1,480 6/1/2021
1.0.39 1,531 5/31/2021
1.0.38 1,577 5/30/2021
1.0.37 1,491 5/30/2021
1.0.36 1,600 4/5/2021
1.0.35 1,568 3/28/2021
1.0.34 1,593 3/22/2021
1.0.33 1,456 3/18/2021
1.0.32 1,590 3/18/2021
1.0.31 1,462 3/17/2021
1.0.30 1,636 3/17/2021
1.0.29 1,515 3/9/2021
1.0.28 1,653 3/7/2021
1.0.27 1,707 3/1/2021
1.0.26 1,492 2/28/2021
1.0.25 1,483 2/26/2021
1.0.24 1,670 2/25/2021
1.0.23 1,611 2/24/2021
1.0.22 1,445 2/21/2021
1.0.21 1,549 2/20/2021
1.0.20 1,607 2/19/2021
1.0.19 1,482 2/2/2021
1.0.18 1,617 1/29/2021
1.0.17 1,692 1/28/2021
1.0.16 1,656 1/23/2021
1.0.15 1,820 12/26/2020
1.0.14 2,102 12/20/2020
1.0.13 1,966 12/20/2020
1.0.12 1,710 8/20/2020
1.0.11 1,755 8/7/2020
1.0.10 1,782 7/28/2020
1.0.9 1,834 7/28/2020
1.0.8 1,841 7/25/2020
1.0.7 1,829 7/21/2020
1.0.6 1,881 7/5/2020
1.0.5 1,894 7/5/2020
1.0.4 1,800 7/4/2020
1.0.3 1,826 7/3/2020
1.0.2 1,825 7/3/2020
1.0.1 1,849 7/2/2020
1.0.0 1,802 6/17/2020