Wolfringo.Commands 2.0.0

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

// Install Wolfringo.Commands as a Cake Tool
#tool nuget:?package=Wolfringo.Commands&version=2.0.0

Commands System for Wolfringo library.

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.

NuGet packages (2)

Showing the top 2 NuGet packages that depend on Wolfringo.Commands:

Package Downloads
Wolfringo.Hosting

Extension for Wolfringo library, providing support for ASP.NET Core and other .NET Core Hosting scenarios.

Wolfringo

A .NET Library for WOLF (previously Palringo). This metapackage includes Core, Commands, Utilities and Utilities.Interactive libraries.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 503 11/13/2021
2.0.0 867 11/8/2021
1.1.2 481 2/5/2021
1.1.1 1,010 1/6/2021
1.1.0 950 1/4/2021
1.0.0 1,030 12/18/2020
1.0.0-beta5 436 12/17/2020
1.0.0-beta3 762 12/16/2020
1.0.0-beta2 776 11/30/2020
1.0.0-beta1 1,105 11/28/2020

This version features significant amount of changes. Please see upgrade guide: https://wolfringo.tehgm.net/upgrading/1.x-2.x.html

- Added CommandsServiceBuilder that makes creation of a CommandsService much easier!
- Added an easy help command support.
- Added {{RecipientID}} and {{RecipientName}} placeholders are now supported in command argument error messages.
- Added [ArgumentText] attribute for command method arguments.
- Both standard and regex commands now support a timeout.
- Regex commands now support a Regex engine timeout to prevent potential attacks.
- Added an extension method for ChatMessage class: GetMessageWithoutPrefix.
- Added CommandContextOptions class which can now be injected into command method.
- Added CommandRequirementsResult class for use by command requirements.
- Command requirements' CheckAsync method now returns ICommandResult instead of a boolean. Supporting AbortOnFail and SendMessageWhenSkipping properties and ResultFromBoolean method were added to CommandRequirementAttribute class.
- StandardCommandInstance and RegexCommandInstance now inherit from a shared CommandInstanceBase class.
- CommandsOptions now implement a new ICommandOptions interface.
- Some CommandsService constructors were removed or marked as obsolete. Favour using CommandsServiceBuilder.
- Types implementing ICommandResult are now classes instead of structs.
- IsSuccess property of ICommandResult is now obsolete. Favour using Status property.
- Exception property has been removed from most of classes implementing ICommandResult.
- ErrorMessage property of ICommandRequirement has been removed. It is still present in CommandRequirementAttribute, so existing error messages should still work just fine.
- ICommandsService now has Commands property, containing all instance descriptors currently active within the service.
- SimpleServiceProvider and CombinedServiceProvider classes were removed, as they're no longer needed internally.
- CommandInstanceDescriptorExtensions class has been moved from TehGM.Wolfringo.Commands.Initialization to TehGM.Wolfringo.Commands namespace.
- Command instance descriptor extension methods now use new internal attribute cache class DescriptorAttributeCache. This cache uses lazy reflection for performance.
- Priority property of CommandInstanceDescriptor has been removed. Favour using extension methods.
- Dependency Injection mechanisms for Commands now correctly differentiate between argument with default value and optional argument.