Conversation
|
Hello, Halllo! Sorry for so lately response, I want to thank you for your pull request, it is really good job, and I saw it. But, unfortunatly I think that support of only methods without parameters - seems to be not full enough - if it needs to use reflection to invoke methods, nothing can't prevent us of invoking method with parameters that were bind to source properties. Second moment is about path expression parsing. Now the string parsing occurs in a simplified form, and I fear for its correctness, so I want to replace regex and other tools with using real parser, which can detect all properties, methods, types etc. Without that we can obtain many errors while addings new functional for this. I hope you don't take displeasure. I can to notify you about library news. P.S. good article, I was very pleased :) |
|
I think it's better to do it with a new extension, for example CommandBinding, because the command may require additional specific properties: command availability expression, type of command: Delegate or Relay. |
|
I created an entire library for that kind of command binding. Have a look at CommandContext. |
How do you like to be able to write
when your ViewModel looks just like this: