Questions tagged [mvvm]

The Model-View-ViewModel design pattern, which separates presentation from data and logic.

Filter by
Sorted by
Tagged with
10
votes
3answers
3k views

Converting between data and presentation types

Below is how I'm solving the problem of converting between data and presentation types, I'd like to know if that's a good way to go about it, and if not, what would be a better way to go about it. I ...
7
votes
4answers
12k views

Improvements to a ViewModelBase

Every time I go to write an MVVM application (say every 4-6 months) I rewrite my ViewModelBase class. This is for a range of reasons but let's say either I don't ...
8
votes
3answers
683 views

MIST - auto-implemented, attribute-driven .NET notification mechanism

I have a component that I've used myself for quite some time, the short story is that it automagically implements a property change notification mechanism (very useful for implementing ...
6
votes
1answer
6k views

Unit of Work with Generic Repository Pattern MVVM

I have been writing the application. I meant to implement a repository pattern with Unit of Work. Is it correctly done? Can you make a code review? I use SQLite ...
2
votes
1answer
1k views

MVVM implementation using C# and XAML

I have used INotifyPropertyChanged for both Model and ViewModel. Is it correct? First of all I was trying to use ...
6
votes
1answer
548 views

Data Model for a Memory Game

I have a Memory style card matching game. The project is big enough that I want to break up the review. The first part that I am giving you is the data model. If you are interested the full project ...
3
votes
1answer
1k views

MVVM Calling command by name from CommandBindings

For example I have this property in my ViewModel. ...
2
votes
1answer
1k views

Unit of Work with Generic Repository Pattern MVVM, vol. 3

Continuation of this question: https://codereview.stackexchange.com/questions/36561/unit-of-work-with-generic-repository-pattern-mvvm-vol-2 I have made some modifications: Implement lazy-loading (...
1
vote
1answer
2k views

Unit of Work with Generic Repository Pattern MVVM, vol. 2

Continuation of this question: Unit of Work with Generic Repository Pattern MVVM I have made some modifications: Interfaces aren't forced to implement IDisposable Removed the finalizers Rebuilt UoW ...