lvlup.PowerUp 1.0.3

dotnet add package lvlup.PowerUp --version 1.0.3
                    
NuGet\Install-Package lvlup.PowerUp -Version 1.0.3
                    
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="lvlup.PowerUp" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="lvlup.PowerUp" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="lvlup.PowerUp" />
                    
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 lvlup.PowerUp --version 1.0.3
                    
#r "nuget: lvlup.PowerUp, 1.0.3"
                    
#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 lvlup.PowerUp@1.0.3
                    
#: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=lvlup.PowerUp&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=lvlup.PowerUp&version=1.0.3
                    
Install as a Cake Tool

PowerUp

PowerUp offers a curated selection of essential utilities and extensions designed to extend common functionality and simplify complex operations.

Features

  • Sorting Algorithms: Efficient implementations of various sorting algorithms for quick and easy data organization.
  • Cache Key Hash Generator: Generate unique hash codes for cache keys, ensuring optimal cache performance.
  • Fast In-Memory Cache: A high-performance in-memory caching solution to improve application responsiveness.

Getting Started

  1. Install the NuGet package:

    Install-Package lvlup.PowerUp
    
  2. Usage: Here are some examples of how to use "PowerUp" in your C# projects:

    using PowerUp;
    
    // Sorting an array using QuickSort
    List<long> numbers = [5, 2, 9, 1, 7];
    numbers.QuickSort();
    
    // Generating a cache key hash
    MyDataModel data = new();
    string key = "myCacheKey";
    string hash = CacheKeyGenerator.GenerateCacheKey(data, key);
    
    // Using the in-memory cache
    var cache = new FastMemCache<int, int>();
    cache.AddOrUpdate(42, 42, TimeSpan.FromMilliseconds(100));
    int cachedValue = cache.TryGet(42, out i);
    

License

PowerUp is licensed under the MIT License.

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.  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

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.