-
Just struck me that with all the new featues and fun of the c# language in recent years that there might now be a way to achieve something I do more gracefully..... I have a need to change a few behaviours of core Csla so I override the odd method here and there. My problems is there are several methods that are private or not virtual so I need to actually
-
Thank you for this reply. It is extremely useful to me in terms of injecting caution where i hadn't considered there to be a problem. Once its spelt out it, of course, makes perfect sense.
-
Perhaps the IsValid property doesn't raise a notification when it is set so the UI won't know to respond/redraw I have a suspicion there isn't an OnPropertyChanged("IsValid") type thing going on with IsValid - its one of those more passive propeties that you interrogate rather than be notified about.
-
First, Rocky, sorry to hear of your painful troubles and hope the recovery is speedy. My disclaimer this afternoon is that I am writing from a position of severe and prolonged sleep deprivation so I have no idea where this post will lead me….. This is definitely a topic with passionate views both on the purist and the practical side of the coin
-
*** Please ignore me - I got this working. I needed to shutdown another solution that was using IIS Express!? *** sneaky question on a loosely related thread: I cannot run the PTracker project either. It gives that cross-domain error which I 'm pretty sure is solved by not having the SilverlightUI project as startup. My problem is which project
-
I'm thinking PropertyChanged wouldn't be a good idea generally because, for example, the VM in question could be busy for any number of reasons. What I'll likely do is inherit VMBase and implement my ow set of methods and events that I find useful for my apps. It'll likely closely mirror what I already do in base presentation classes
-
Interest to know why there isn't a completed-type event in the ViewModeBase? Bascially I'd like one VM that refers to another to know when the latter is ready. I have a PropertyChanged and ErrorOccurred event but no specific "I'm ready" type event.
-
I would agree with both of these. The only thing I would suggest ( keeping head down) is that these really aren't business objects. They'd be more presentation oriented. But I'd have no probem with your choice of structures to hold this data in.
-
In my opinion there is no one single answer to this. So much depend on the context within which you operate. However, as a simple rule if you find your business objects being used by multiple applications (as opposed to a single large application) I'd probably advise you go for separate assemblies and structure these to be very domain oriented.
-
Interesting question for which you will get far more intelligent answers than mine on here but I thought I’d chip in because it’s been a pet topic of mine for many years. I have never much bought into the read-only business object approach where a separate instance of a class is created to encapsulate the read-only-ness behaviour. If I have