Commit Graph

228 Commits

Author SHA1 Message Date
Sergio Pedri 8cc8a9f94d Minor codegen improvement 2020-04-18 17:22:48 +02:00
Sergio Pedri ba2b57e644 Added IAsyncRelayCommand and IAsyncRelayCommand<T> interfaces 2020-04-18 17:10:04 +02:00
Sergio Pedri 63c2a78037 Improved internal documentation 2020-04-18 14:02:21 +02:00
Sergio Pedri f8b07bf87c Added more fail tests in unit tests, improved documentation 2020-04-18 00:14:57 +02:00
Sergio Pedri 3aa6fd0d2d Improved IMessenger XML docs 2020-04-17 23:59:23 +02:00
Sergio Pedri f0504c421e Renamed Commands folder to Input to follow namespace 2020-04-17 23:18:03 +02:00
Sergio Pedri 875c93b5db Fixed an incorrect XML docs 2020-04-17 22:44:45 +02:00
Sergio Pedri 0bb6a25d75 Updated project description 2020-04-17 22:39:43 +02:00
Sergio Pedri 9f931e4ee4 Minor API rename for consistency with WinUI 2020-04-17 22:31:41 +02:00
Sergio Pedri 7271596c3a Fixed missing file headers 2020-04-17 22:29:14 +02:00
Sergio Pedri 8a44ace317 Fixed missing cleanup from Messenger.Unsubscribe(object) 2020-04-17 19:38:17 +02:00
Sergio Pedri 74a054c878 Minor code tweaks 2020-04-17 19:17:50 +02:00
Sergio Pedri c082639144 Added Type2 struct 2020-04-17 17:14:42 +02:00
Sergio Pedri e32e699789 Minor bug fixes 2020-04-17 16:39:01 +02:00
Sergio Pedri 02409c5a80 Minor memory improvements to the Messenger class 2020-04-17 16:08:35 +02:00
Sergio Pedri b1301038cf Minor performance improvements to the Messenger class 2020-04-17 15:39:20 +02:00
Sergio Pedri a769d1b646 Code style updates 2020-04-17 15:24:07 +02:00
Sergio Pedri 8b40852908 Renamed Services namespace to DependencyInjection
This follows the naming from Microsoft.Extensions.DependencyInjection
2020-04-17 12:25:16 +02:00
Sergio Pedri 0b3e56d662 Simplified commands namespace structure
Also renamed namespace to Microsoft.Toolkit.Mvvm.Input to mirrow System.Windows.Input (the namespace ICommand belongs to)
2020-04-17 12:23:05 +02:00
Sergio Pedri dc4e81060e Minor code style tweaks 2020-04-17 02:11:03 +02:00
Sergio Pedri caa721dccd Removed unnecessary notnull constraints 2020-04-17 02:09:17 +02:00
Sergio Pedri 5013ea01c9 Code refactoring, minor performance improvements 2020-04-17 02:06:21 +02:00
Sergio Pedri aa2f470819 Minor improvements and code tweaks 2020-04-17 02:01:14 +02:00
Sergio Pedri bcbb8c9eab Code refactoring, added the IRelayCommand interface 2020-04-16 21:12:46 +02:00
Sergio Pedri d40c3ae642 Code refactoring, removed build warnings 2020-04-16 20:49:27 +02:00
Sergio Pedri 2330fb62b8 Added ICommand<T> interface 2020-04-16 19:19:58 +02:00
Sergio Pedri e7fc8d7842 Bug fixes in ObservableObject.SetAndNotifyOnCompletion 2020-04-16 19:11:49 +02:00
Sergio Pedri 0909506a20 Added AsyncRelayCommand<T> type 2020-04-16 19:05:11 +02:00
Sergio Pedri 27cff27db4 Added AsyncRelayCommand type 2020-04-16 18:49:06 +02:00
Sergio Pedri c0f145bb2f Minor code tweaks 2020-04-16 18:46:46 +02:00
Sergio Pedri 7941a947c9 Fixed an incorrect comment 2020-04-16 18:32:30 +02:00
Sergio Pedri 05873a5435 Removed unnecessary using directives 2020-04-16 15:57:48 +02:00
Sergio Pedri b7c4ec2368 Fixed a comment 2020-04-16 15:39:03 +02:00
Sergio Pedri 778c9ca3e8 Added ObservableObject.SetAndNotifyOnCompletion<TTask> method 2020-04-16 13:05:05 +02:00
Sergio Pedri 0607bca880 Messenger XML comments improved 2020-04-16 01:28:14 +02:00
Sergio Pedri e344a09773 Code refactoring 2020-04-15 23:02:11 +02:00
Sergio Pedri 109274f717 Moved request methods to extensions 2020-04-15 22:54:48 +02:00
Sergio Pedri 877c2c1b79 Added IMessenger interface 2020-04-15 22:45:09 +02:00
Sergio Pedri 83109b6ba6 Added IIoc interface 2020-04-15 22:36:36 +02:00
Sergio Pedri 5bf3e45964 Code refactoring 2020-04-15 22:32:25 +02:00
Sergio Pedri 2cfb3f5f2f Added dependency injection of service provider in ViewModelBase 2020-04-15 22:29:07 +02:00
Sergio Pedri 2010a87dc8 The Ioc class is not static anymore 2020-04-15 22:23:36 +02:00
Sergio Pedri 2e7a15ff7e Added messaging customization to ViewModelBase 2020-04-15 17:56:55 +02:00
Sergio Pedri d26d0d42ce The Messenger class is not static anymore 2020-04-15 17:50:01 +02:00
Sergio Pedri 05cdc10bf5 Added ViewModelBase class 2020-04-15 15:34:17 +02:00
Sergio Pedri 5ff5db572b Added PropertyChangedMessage<T> type 2020-04-15 14:31:37 +02:00
Sergio Pedri 90040fc0de Minor code refactoring 2020-04-15 14:24:44 +02:00
Sergio Pedri 82c927e9fd Added Messenger request methods 2020-04-15 14:17:50 +02:00
Sergio Pedri e1d84f4ea5 Added RequestMessageBase<T> type 2020-04-15 14:07:35 +02:00
Sergio Pedri 2b04b68965 Added Messenger APIs with no input message 2020-04-15 13:23:32 +02:00