Found 45 packages
An implementation of WPF ICommand that allows passing delegates/lambdas for the implementation.
Tests for netfx-System.Windows.Input.DelegateCommand
MvvmLib Core Commands: DelegateCommand, AsyncCommand and CompositeCommand Task Extensions: for Async with void method Mvvm: BindableBase, ValidatableBindableBase and ModelWrapper EventAggregator : allows to subscribe, publish and filter messages
Implementation delegate command, froms PRISM.
This package includes a .NET MVVM library with helpers such as: - ObservableObject: a base class for objects implementing the INotifyPropertyChanged interface. - ObservableRecipient: a base class for observable objects with support for the IMessenger service. - ObservableValidator: a base class for objects implementing the INotifyDataErrorInfo interface. - RelayCommand: a simple delegate command implementing the ICommand interface. - AsyncRelayCommand: a delegate command supporting asynchronous operations and cancellation. - WeakReferenceMessenger: a messaging system to exchange messages through different loosely-coupled objects. - StrongReferenceMessenger: a high-performance messaging system that trades weak references for speed. - Ioc: a helper class to configure dependency injection service containers.
Unit-Testable components for general .NET development
A command which is very useful in MVVM for WPF.
Simple implementation of ICommand Interface and INotifyPropertyChanged Inspired by AngelSix (Luke) youtube channel and Brian Lagunas (Prism) https://github.com/Touseefelahi/Stira.WpfCore
This is a nice little command line parser based on Ray Hayes codeproject article Automatic Command Line Parsing in C#. I have adapted it to VB.NET and upgraded it to .NET 3.5. An updated command line parser that has a built in commanding architecture. The usage varies depending on what you are trying to achieve, but you can have commands, nested commands and delegate commands. You just add this assembly to your project and adda bunch of command objects... note: From this version you have to set "DefaultCommandAction" on the constructor for the CommandCollection to "Loop" in order to stay in the application.
Fody plugin to simplify the use of DelegateCommand in Prism
Prism seems to not develop any further ICommand implementation. This lib extends or replaces the existing Prism Commands.
An async implementations of delegate command and other base common classes for WPF.
.Net Standard libary which implements ICommand interface and provides Command and AsyncCommand classes that are tipically used to provide commanding behaviour to user interfaces. This particular library does not rely on CommandManager which is part of WPF, therefore it can be used with Xamarin and Mono.
This is a nice little command line parser based on Ray Hayes codeproject article Automatic Command Line Parsing in C#. I have adapted it to VB.NET and upgraded it to .NET 3.5. An updated command line parser that has a built in commanding architecture. The usage varies depending on what you are trying to achieve, but you can have commands, nested commands and delegate commands. You just add this assembly to your project and adda bunch of command objects... note: From this version you have to set "DefaultCommandAction" on the constructor for the CommandCollection to "Loop" in order to stay in the application.
This is a nice little command line parser based on Ray Hayes codeproject article Automatic Command Line Parsing in C#. I have adapted it to VB.NET and upgraded it to .NET 3.5. An updated command line parser that has a built in commanding architecture. The usage varies depending on what you are trying to achieve, but you can have commands, nested commands and delegate commands. You just add this assembly to your project and adda bunch of command objects. note: From this version you have to set "DefaultCommandAction" on the constructor for the CommandCollection to "Loop" in order to stay in the application.
Common types for WPF / MVVM applications.
Makes WPF ViewModel classes smart by default. Implements INotifyPropertyChanged and DelegateCommands for auto properties, recognises dependent properties, connects property changed handlers, triggers validation. Supports virtual properties with Entity Famework.
Commands simplifies coordination of asynchronous and synchronous activities. It works with both task and non-task-based operations. The library is built upon class Command, which represents an action. A Command may be run synchronously or asynchronously, and may be aborted. ParallelCommands, itself a Command, executes a collection of commands concurrently, and SequentialCommands executes its commands in sequence. Using these classes, it's possible to compose deep levels of coordinated actions. For example, SequentialCommands can hold instances of ParallelCommands, which in turn could hold SequentialCommands, and any other Command-derived object. PeriodicCommand repeats its action at a given interval, ScheduledCommand runs once at a specific time, and RecurringCommand runs at times that are provided via a callback. RetryableCommand offers the option to conditionally keep retrying a failed command, FinallyCommand provides a mechanism to ensure a cleanup routine is run regardless of whether a command succeeds or fails, and TimeLimitedCommand fails with a timeout exception if a given duration elapses before the command finishes execution. All of the above Command classes are simply containers for other Command objects that presumably do something of interest. They can be combined in ways that offer a lot of customization. For example, to make an HttpRequest at a given time, with a timeout and a configurable number of retries, you could create a ScheduledCommand containing a RetryableCommand containing a TimeLimitedCommand containing an HttpRequestCommand. TaskCommand, DelegateCommand and Command.AsTask() offer easy integration with tasks and delegates. CommandDispatcher manages asynchronous execution of dynamically generated commands. The Command class allows registration of ICommandMonitor objects. CommandTracer will write diagnostic output to the debug stream, and CommandLogger will write diagnostic output to file. Using the provided CommandLogViewer app (source available in GitHub), it is possible to see the status of all command executions, including their parent/child relationships. Example usage can be found here: https://github.com/efieleke/CommandLib/blob/master/CommandLibSample/Program.cs The entire source lives here: https://github.com/efieleke/CommandLib.git Guidelines for developing your own Command-derived class: - If the implementation of your command is naturally synchronous, inherit from SyncCommand - If the implementation of your command is naturally asynchronous and makes use of tasks (i.e. the Task class), inherit from TaskCommand - If the implementation of your command is naturally asynchronous but does not make use of tasks, inherit from AsyncCommand - Make your implementation responsive to abort requests if it could take more than a trivial amount of time. To do this, make ocassional calls to Command.CheckAbortFlag() or Command.AbortRequested A versions for C++ exists at https://github.com/efieleke/CommandLibForCPP.git. A help file containing complete documentation exists within this package's contents.
Library that provides basic MVVM functionalities.
MVVM Framework for WPF