It's been a while since this code was posted here and then included in CslaContrib .NET.
The old code works all right but Caliburn.Micro has improved its code to solve a number of issues. So I've re-done the port of Csla' s ViewModelBase and all Caliburn.Micro methods.
This is based on Caliburn.Micro 1.3.1+ (3cc9a20b8554 2012-10-12) and Csla 4.3.13.
It's a pre-release since CslaContrib will be updated to use this code.
You can grab the assemblies and the code at my shared google drive
I had a need for a ConductorWithModel class and ended up copy/paste the conductor classes from CM and substituting Screen with your ScreenWithModel. I also changed your Screen<T> to Screen<M> so that there were no conflict.
I dont know if this is something you would want to add, but I have found it helpful.
I'm afraid I don't have a CSLA + CM sample that can be published.
For those that are familair with Caliburn.Micro and Csla, a sample isn't really needed. A sample would be usefull for those that know CSLA and are starting on Caliburn.Micro.
For those that aren't familiar with neither of these frameworks, a sample is almost useless. Each of these frameworks has its own set of rules/principles that must be well understood before doing anything that works. If that's your case, I suggest reading the "Using CSLA 4" ebooks and all Caliburn.Micro documentation you can find. Of course samples of each framework per se are also useful.
Concerning samples, my priorities go to CSLA + MVVM Light Toolkit as a way to test my ViewModel adapter for this MVVM framework. A CSLA + CM sample may result as a side effect. That is not a promise though
Thanks for the quick response Tiago!
A CSLA + CM sample is exactly what I'm looking for. Looking forward to a possible one. :)
I just wanted to throw in that I also would love a CSLA + CM sample, but it's not core essential. CSLA is awesome, and so is CM .
Copyright (c) Marimer LLC