Files
MSEssentials.Extensions/SimpleToolkit.Extensions
Mateusz Skoczek 899c843661
Some checks failed
Build and publish package / Build (push) Successful in 24s
Build and publish package / Determine version (push) Successful in 20s
Build and publish package / Pack (push) Successful in 20s
Build and publish package / Publish (push) Failing after 15s
Update SimpleToolkit.Extensions/README.md
899c843661 · 2026-04-11 15:52:09 +02:00
History
..
2026-02-13 21:24:55 +01:00
2026-02-13 21:24:55 +01:00
2026-02-13 21:24:55 +01:00
2026-02-13 21:24:55 +01:00

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.


NuGet registry status

Subpackage Status
SimpleToolkit.Extensions NuGet version (SimpleToolkit.Extensions)
SimpleToolkit.Attributes NuGet version (SimpleToolkit.Attributes)
SimpleToolkit.MVVM NuGet version (SimpleToolkit.MVVM)
SimpleToolkit.UI.Models NuGet version (SimpleToolkit.UI.Models)
SimpleToolkit.UI.WinUI.Behaviors NuGet version (SimpleToolkit.UI.WinUI.Behaviors)
SimpleToolkit.UI.WinUI.Converters NuGet version (SimpleToolkit.UI.WinUI.Converters)
SimpleToolkit.UI.WinUI.Controls NuGet version (SimpleToolkit.UI.WinUI.Controls)
SimpleToolkit.UI.WinUI.Helpers NuGet version (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

To download package from organization package registry, you have to add new NuGet package source. You will need access details, which you can obtain by contacting the repository owner. You can also download .nupkg file from repository Releases page.

CLI:

dotnet nuget add source --name SimpleToolkit --username <username> --password <password> https://repos.mateuszskoczek.com/api/packages/SimpleToolkit/nuget/index.json
dotnet add package --source SimpleToolikt 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: