SimpleToolkit.Attributes 1.7.0

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

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

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)

Contents

Extensions

  • StringExtensions
    • (static) CreateRandom - returns random string
    • Shuffle - returns shuffled string

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

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.

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 96 5/3/2024
1.7.6 77 5/3/2024
1.7.5 131 3/14/2024
1.7.4 129 3/3/2024
1.7.3 114 3/3/2024
1.7.2 118 3/2/2024
1.7.1 120 3/2/2024
1.7.0 113 3/2/2024
1.6.1 132 3/1/2024
1.6.0 124 3/1/2024
1.5.0 121 2/28/2024