SimpleToolkit.Extensions 1.7.6

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

// Install SimpleToolkit.Extensions as a Cake Tool
#tool nuget:?package=SimpleToolkit.Extensions&version=1.7.6                

SimpleToolkit

SimpleToolkit is a set of helpers, models, controls, etc. used in my other C# projects.

Status

Project NuGet Gallery
Extensions NuGet version (SimpleToolkit.Extensions)
Attributes NuGet version (SimpleToolkit.Attributes)
MVVM NuGet version (SimpleToolkit.MVVM)
UI.Models NuGet version (SimpleToolkit.UI.Models)
UI.WinUI.Behaviors NuGet version (SimpleToolkit.UI.WinUI.Behaviors)
UI.WinUI.Converters NuGet version (SimpleToolkit.UI.WinUI.Converters)
UI.WinUI.Controls NuGet version (SimpleToolkit.UI.WinUI.Controls)
UI.WinUI.Helpers NuGet version (SimpleToolkit.UI.WinUI.Helpers)

Contents

Extensions

  • 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

Attributes

  • RequiresClaimAttribute - returns Forbidden result, when claim is not present

MVVM

  • ObservableKeyValuePair - Observable version of KeyValuePair
  • ObservableDictionary - Observable version of Dictionary

UI.Models

  • NavigationViewItem - model which can be used to implement NavigationViewService-less navigation in MVVM

UI.WinUI.Behaviors

  • EventToCommandBehavior - allows to bind parametrized command to any event

UI.WinUI.Converters

  • ObjectToIntConverter - converts any object to int (e.g. enums)
  • ObjectToStringConverter - converts any object to string

UI.WinUI.Controls

  • TimeSpanControl - allows to select TimeSpan

UI.WinUI.Helpers

  • WindowHelper
    • ShowWindow - Brings window to the front

alt text

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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net8.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.7.7 294 5/3/2024
1.7.6 78 5/3/2024
1.7.5 371 3/14/2024
1.7.4 190 3/3/2024
1.7.3 124 3/3/2024
1.7.2 137 3/2/2024
1.7.1 113 3/2/2024
1.7.0 132 3/2/2024
1.6.1 111 3/1/2024
1.6.0 121 3/1/2024
1.5.0 100 2/28/2024
1.4.0 120 2/28/2024
1.3.0 112 2/27/2024
1.2.0 124 2/27/2024
1.1.0 114 2/27/2024
1.0.0 116 2/27/2024
1.0.0-ci.25 61 2/27/2024
0.1.0 118 2/26/2024
0.1.0-ci.24 54 2/27/2024
0.1.0-ci.23 52 2/27/2024
0.1.0-ci.22 51 2/27/2024
0.1.0-ci.21 49 2/27/2024
0.1.0-ci.20 53 2/27/2024