Most voted "prism" questions
3 questions
Sort by count of
-
3
votes1
answer148
viewsViewmodel’s communication: return data to previous screen
I have a screen A that has a text field and a button, that screen button A, opens a second screen B. That screen B has another text field to fill and save, when the person click save the screen…
-
3
votes1
answer91
viewsHow to deal with business rules?
I am working on a C# WPF + EF6 application and find myself lost when it comes to reusing business rules. I’m using the standard repository + Unit of work, but I believe that copying-pasting complex…
-
2
votes3
answers258
viewsIs there a way to dynamically add attribute to instantiated object in C#?
Well, in C# we put attributes as follows: [Required("Este campo é obrigatório")] public string Nome {get; set;} What I would like to know is whether there is a way to add attributes dynamically to…