Files
SimpleToolkit.Extensions/README.md
2026-02-15 20:24:45 +01:00

4.5 KiB

SimpleToolkit.Extensions

Set of helpers, class extensions, UI controls used in my other C# projects

SimpleToolkit is package of useful classes, helpers, extensions and UI controls, I use in my C# projects. Extensions subpackage contains classes extensions.


Informations

Important

For Github users:

This is only mirror repository. All changes are first uploaded to the repository here. Releases are also published on original repository. However, Github repository handles issues and pull requests for better accessibility.

NuGet registry status

Subpackage Status
SimpleToolkit.Extensions
Other subpackages
SimpleToolkit.Attributes
SimpleToolkit.MVVM
SimpleToolkit.UI.Models
SimpleToolkit.UI.WinUI.Behaviors
SimpleToolkit.UI.WinUI.Converters
SimpleToolkit.UI.WinUI.Controls
SimpleToolkit.UI.WinUI.Helpers

Features

  • StringExtensions
    • (static) CreateRandom - returns random string
    • Shuffle - returns shuffled string
  • HttpClientExtensions
    • DownloadAsync - allows to track progress of downloading data
  • StreamExtensions
    • CopyToAsync - allows to track progress of copying data
  • IEnumerableExtensions
    • Random - returns random item from IEnumerable

Installation and usage

You can download package from official NuGet registry or .nupkg file itself from Releases tab.

CLI:

dotnet add package SimpleToolkit.Extensions

Package reference in .csproj file:

<PackageReference Include="SimpleToolkit.Extensions" Version="<version>" />

Attribution and contribution

This project is open source on MIT License, so you can just copy and upload again to your repository. But according to the license, you must include information about the original author. You can find license here.

However, the preferred way to contribute would be to propose improvements in a pull request, through issues, or through other means of communication.

Other sources: