Can s:Action bind to static methods?
GF-Huang opened this issue · comments
No, noone's ever asked for that. Is that something you need? I'm not sure how it would work...
What would the syntax look like? {s:Action Thingy, Target={x:Type app:Something}}
?
We won't be able to make that work with guard proerties in this case however
Maybe like {s:StaticAction xxx:AppCommands.ShowRootViewCommand}
?
That would have to be passed as a string, and I can't parse the xxx
namespace from a string. I'd need to pass in a Type generated from an x:Type
somewhere (I don't think x:Static
can be used to refer to a method group)
It seems implements, great!
It is. I'll write up how to use it in the wiki when I get some time