Comentsys.Toolkit 1.0.0

dotnet add package Comentsys.Toolkit --version 1.0.0
NuGet\Install-Package Comentsys.Toolkit -Version 1.0.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="Comentsys.Toolkit" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Comentsys.Toolkit --version 1.0.0
#r "nuget: Comentsys.Toolkit, 1.0.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 Comentsys.Toolkit as a Cake Addin
#addin nuget:?package=Comentsys.Toolkit&version=1.0.0

// Install Comentsys.Toolkit as a Cake Tool
#tool nuget:?package=Comentsys.Toolkit&version=1.0.0

Comentsys.Toolkit

Comentsys.Toolkit is a Toolkit for Binding and Asset Support for .NET Standard.

Change Log

Version 1.0.0

  • Initial Release

AssetBase

AssetBase can be used as the basis of an Asset Library that can be used in any .NET Standard Compatible Application.

AsStream(root, path, sources, targets, extension)

As Stream

Name Description
root System.String<br>Root
path System.String<br>Path
sources System.Drawing.Color[]?<br>Sources
targets System.Drawing.Color[]?<br>Targets
extension System.String<br>Extension
Returns

Resource Stream

AsStream(root, path, source, target, extension)

As Stream

Name Description
root System.String<br>Root
path System.String<br>Path
source System.Drawing.Color?<br>Source
target System.Drawing.Color?<br>Target
extension System.String<br>Extension
Returns

Resource Stream

AsStream(root, path, extension)

As Stream

Name Description
root System.String<br>Root
path System.String<br>Path
extension System.String<br>Extension
Returns

Resource Stream

AssetResource

AssetResource is used by an Asset Library an an Abstraction to represent the contents of an Asset which is usually in SVG format and exposes a Height and Width for correct representation by clients if needed.

Constructor

Constructor

Constructor(stream, height, width)

Constructor

Name Description
stream System.IO.Stream<br>Stream
height System.Int32<br>Height
width System.Int32<br>Width

Empty

Empty Asset Resource

Height

Asset Resource Height

Stream

Asset Resource Stream

Width

Asset Resource Width

ActionCommandHandler

ActionCommandHandler can be used with Data Binding and implements Interface for ICommand to support Commanding and supports Nullable.

Constructor(action, canExecute)

Constructor

Name Description
action System.Action{System.Object?}?<br>Action
canExecute System.Func{System.Object,System.Boolean?}?<br>Can Execute

Constructor(action)

Constructor

Name Description
action *ystem.Action{System.Object?}?<br>Action

CanExecute(parameter)

Can Execute

Name Description
parameter System.Object?<br>Parameter
Returns

True

CanExecuteChanged

Can Execute Changed

Execute(parameter)

Execute

Name Description
parameter System.Object?<br>Parameter

UpdateCanExecute

Update Can Execute

ActionCommandObservableBase

ActionCommandObservableBase is used in combination with the ActionCommandHandler to expose an Observable that supports Commanding.

Constructor(handler, isEnabled)

Constructor

Name Description
handler Comentsys.Toolkit.Binding.ActionCommandHandler<br>Action Command Handler
isEnabled System.Boolean<br>Is Enabled?

Command

Command

IsEnabled

Enabled

ObservableBase

ObservableBase provides the basis of an Observable by implmenting the Interface for INotifyPropertyChanged

OnPropertyChanged(propertyName)

On Property Changed

Name Description
propertyName System.String<br>Property Name

PropertyChanged

Property Changed Event Handler

Licence

The MIT License (MIT)

Copyright (c) 2022 Comentsys

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETStandard 2.0

    • No dependencies.

NuGet packages (4)

Showing the top 4 NuGet packages that depend on Comentsys.Toolkit:

Package Downloads
Comentsys.Toolkit.WindowsAppSdk

Windows App SDK Toolkit for Controls, Converters and Extensions

Comentsys.Assets.FluentEmoji

Asset Resource for Flat Fluent Emoji

Comentsys.Assets.Flags

Asset Resource for Rectangular and Square Country Flags

Comentsys.Assets.Games

Asset Resource for Games including Chess and Mahjong

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.0 585 9/25/2022

1.0.0 - Initial Release