DKNet.Fw.Extensions 9.0.4

There is a newer version of this package available.
See the version list below for details.
dotnet add package DKNet.Fw.Extensions --version 9.0.4
                    
NuGet\Install-Package DKNet.Fw.Extensions -Version 9.0.4
                    
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="DKNet.Fw.Extensions" Version="9.0.4" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="DKNet.Fw.Extensions" Version="9.0.4" />
                    
Directory.Packages.props
<PackageReference Include="DKNet.Fw.Extensions" />
                    
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 DKNet.Fw.Extensions --version 9.0.4
                    
#r "nuget: DKNet.Fw.Extensions, 9.0.4"
                    
#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 DKNet.Fw.Extensions@9.0.4
                    
#: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=DKNet.Fw.Extensions&version=9.0.4
                    
Install as a Cake Addin
#tool nuget:?package=DKNet.Fw.Extensions&version=9.0.4
                    
Install as a Cake Tool

DKNet.Framework.Extensions

Overview

DKNet.Framework.Extensions is a library designed to extend and enhance functionality within the DKNet Framework. It provides additional tools, utilities, and helpers to simplify development and improve productivity. By integrating this extension library, developers can leverage pre-built features and abstractions, reducing boilerplate code and accelerating project timelines.

Features

Core Classes

  1. AsyncEnumerableExtensions
    Provides extension methods for working with asynchronous enumerable collections, making it easier to process data streams asynchronously with operations like filtering, mapping, and aggregation.

  2. AttributeExtensions
    Enhances functionality related to attributes by providing methods to retrieve, manipulate, and check for the presence of custom or built-in attributes in a streamlined way.

  3. DateTimeExtensions
    Offers utility methods for DateTime manipulation, including methods for calculating differences, adding/subtracting time spans, and formatting dates for various locales.

  4. EnumExtensions
    Adds helper methods for working with enumerations, such as parsing strings to enums, retrieving display names, and validating enum values against defined sets.

  5. EnumInfo
    Represents detailed information about enumeration values, including their names, integer values, and associated metadata like custom attributes or descriptions.

  6. PropertyAttributeInfo
    Provides metadata about properties and their associated attributes, enabling detailed analysis and reflection-based processing in applications.

  7. PropertyExtensions
    Simplifies access and manipulation of property information using reflection, including methods to get or set property values dynamically.

  8. ServiceCollectionExtensions
    Includes utilities for dependency injection, allowing developers to easily register common services, configure options, and apply conventions within the service container.

  9. StringExtensions
    Adds various string manipulation methods, such as trimming, case conversions, substring extraction, and enhanced string validation checks.

  10. TypeExtensions
    Contains helpers for working with types in .NET, providing methods for retrieving type information, analyzing inheritance, and working with generic types.

Encryption

  1. Hashing
    Implements hashing algorithms for secure data processing, including support for commonly used algorithms like SHA256 and MD5, with options for salt generation.

  2. StringEncryption
    Provides methods for encrypting and decrypting strings using symmetric encryption algorithms, making it simple to secure sensitive data.

TypeExtractor

  1. ITypeExtractor
    Interface defining methods for extracting type information from assemblies, providing a foundation for analyzing and working with metadata.

  2. TypeArrayExtractorExtensions
    Adds functionality for extracting specific type arrays from assemblies, allowing for quick filtering and categorization of types based on criteria.

  3. TypeCollectionExtractorExtensions
    Extends capabilities for extracting type collections, making it easier to work with grouped metadata from large projects or external libraries.

  4. TypeExtractor
    Core implementation for extracting type metadata, supporting features like assembly scanning, type filtering, and attribute-based selection.

Requirements

  • Framework: DKNet Framework vX.X or higher
  • Language: .NET 9.0 or higher
  • Dependencies: Refer to DKNet.Framework.Extensions.csproj for detailed dependency information.

Installation

To install the DKNet.Framework.Extensions package, use the NuGet Package Manager:

Install-Package DKNet.Framework.Extensions

Alternatively, add the package to your project file:

<PackageReference Include="DKNet.Framework.Extensions" Version="X.X.X" />

Then, restore your dependencies:

dotnet restore

Issues and Support

For issues, please submit a bug report or feature request via the GitHub Issues page. Make sure to include:

  • A clear description of the problem.
  • Steps to reproduce (if applicable).
  • Any error messages or logs.

License

This project is licensed under the MIT License. See the LICENSE file for details.

Acknowledgments

Special thanks to all contributors and maintainers of DKNet.Framework. This extension library builds upon their solid foundation.

Product Compatible and additional computed target framework versions.
.NET net9.0 is compatible.  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 DKNet.Fw.Extensions:

Package Downloads
DKNet.EfCore.Extensions

Package Description

DKNet.EfCore.Hooks

Package Description

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
9.0.40 47 9/27/2025
9.0.39 94 9/26/2025
9.0.38 144 9/24/2025
9.0.37 164 9/23/2025
9.0.36 196 9/23/2025
9.0.35 186 9/23/2025
9.0.34 195 9/23/2025
9.0.33 211 9/21/2025
9.0.32 205 9/21/2025
9.0.31 326 9/19/2025
9.0.30 322 9/18/2025
9.0.29 325 9/18/2025
9.0.28 334 9/17/2025
9.0.27 323 9/17/2025
9.0.26 327 9/16/2025
9.0.25 251 9/15/2025
9.0.24 249 9/15/2025
9.0.23 158 9/6/2025
9.0.22 197 9/3/2025
9.0.21 161 9/1/2025
9.0.20 186 7/15/2025
9.0.19 193 7/14/2025
9.0.18 202 7/14/2025
9.0.17 181 7/14/2025
9.0.16 167 7/11/2025
9.0.15 179 7/11/2025
9.0.14 174 7/11/2025
9.0.13 176 7/11/2025
9.0.12 194 7/8/2025
9.0.11 191 7/8/2025
9.0.10 200 7/7/2025
9.0.9 193 7/2/2025
9.0.8 185 7/2/2025
9.0.7 193 7/1/2025
9.0.6 189 6/30/2025
9.0.5 191 6/24/2025
9.0.4 193 6/24/2025
9.0.3 193 6/23/2025
9.0.2 196 6/23/2025
9.0.1 191 6/23/2025