canton7 / Stylet

A very lightweight but powerful ViewModel-First MVVM framework for WPF for .NET Framework and .NET Core, inspired by Caliburn.Micro.
MIT License
988 stars 143 forks source link

Inconsistency with ActionSignatureInvalidException and wiki? #146

Closed HelloWorld183L closed 4 years ago

HelloWorld183L commented 4 years ago

The ActionSignatureInvalidException reads as follows: "Method DisplayVideoDetails on ShellViewModel must have zero or one parameters". This seems to contradict the wiki as it states that the "method which is called must have zero, one, or two parameters". Should a method that is called be able to have up to two parameters or is it just one parameter?

Wiki source: https://github.com/canton7/Stylet/wiki/Actions#events

HelloWorld183L commented 4 years ago

Nevermind, I had gotten mixed up with the normal actions (aka methods) vs actions with events.