Antony Male
Antony Male
Reopening, as I want to do *something* about this: either fix it, or document it.
Looks like they added guard methods since I last used it. The tricky bit here is knowing when the re-evaluate the guard method. With guard properties we use INPC, but...
Actually, if the button (or whatever) evaluates `ICommand.CanExecuted` whenever its `CommandParameter` property changes, that could work. I'll have to experiment.
Ah no, doesn't look like that works, sadly.
Heh, maybe Action can subscribe to changes on the button's `CommandParameter`. That would be a very hacky but probably quite neat way of doing this.
Scheduled for the next release. Note that I strongly recommend against serializing ViewModels. They're not meant to be serialized. Create a dedicated model that's meant to be serialized instead.
(this will be closed when the next release is merged)
Because events have no concept of "can execute". ICommand has the CanExecute method, but events have nothing of the sort. There's no way to disable a button using only it's...
I disagree - Stylet tries to avoid introducing too much magic. Someone reading a project written with Stylet shouldn't have to do too much guessing/reading to figure out what's going...
In your `ConfigureIoC` method, you need to add the assemblies to `builder.Assemblies`. So: ```cs builder.Assemblies.Add(typeof(ShellViewModel).Assembly); ```