Click here to Skip to main content
16,010,416 members
Home / Discussions / C#
   

C#

 
QuestionRe: Byte Array Declaration Pin
Mark Salsbery12-Dec-08 7:21
Mark Salsbery12-Dec-08 7:21 
QuestionOverride virtual or abstracts with derived return types Pin
jofli11-Dec-08 21:59
jofli11-Dec-08 21:59 
AnswerRe: Override virtual or abstracts with derived return types Pin
Rahul.RK11-Dec-08 22:12
Rahul.RK11-Dec-08 22:12 
GeneralRe: Override virtual or abstracts with derived return types Pin
jofli11-Dec-08 22:33
jofli11-Dec-08 22:33 
AnswerRe: Override virtual or abstracts with derived return types Pin
J4amieC11-Dec-08 22:19
J4amieC11-Dec-08 22:19 
GeneralRe: Override virtual or abstracts with derived return types Pin
jofli11-Dec-08 22:27
jofli11-Dec-08 22:27 
GeneralRe: Override virtual or abstracts with derived return types Pin
J4amieC11-Dec-08 22:40
J4amieC11-Dec-08 22:40 
GeneralRe: Override virtual or abstracts with derived return types Pin
jofli11-Dec-08 23:09
jofli11-Dec-08 23:09 
I'm facing this problem in several situations and i'm pretty sure this is an architectural question.

This would be a good sample:
There is a mask with a persons list and some search fields. I have a ViewModel class which provides the data (List<person>) and the filter object (PersonFilter) where the search fields are bound to (WPF).

Later i want to build a customers mask. Where the Customer class is an extension of Person and the CustomerFilter an extension PersonFilter. So i would love to extend my ViewModel, but i cannot override my Filter Property.

Even if i'm sure that there won't be a solution, which let me do it this way. I thought it is time time to ask here.

Thanks and regards,
Johannes
AnswerRe: Override virtual or abstracts with derived return types Pin
J4amieC11-Dec-08 22:46
J4amieC11-Dec-08 22:46 
GeneralRe: Override virtual or abstracts with derived return types Pin
carbon_golem12-Dec-08 2:55
carbon_golem12-Dec-08 2:55 
GeneralRe: Override virtual or abstracts with derived return types Pin
Ben Fair12-Dec-08 11:00
Ben Fair12-Dec-08 11:00 
GeneralRe: Override virtual or abstracts with derived return types Pin
jofli15-Dec-08 4:51
jofli15-Dec-08 4:51 
QuestionFormat a segement of a Excel cell bold programmatically Pin
skyline9211-Dec-08 21:33
skyline9211-Dec-08 21:33 
AnswerRe: Format a segement of a Excel cell bold programmatically Pin
Mycroft Holmes11-Dec-08 21:44
professionalMycroft Holmes11-Dec-08 21:44 
GeneralRe: Format a segement of a Excel cell bold programmatically Pin
skyline9212-Dec-08 0:47
skyline9212-Dec-08 0:47 
QuestionUnicode font sample application Pin
Sameera Afzal11-Dec-08 20:41
Sameera Afzal11-Dec-08 20:41 
AnswerRe: Unicode font sample application Pin
Lev Danielyan11-Dec-08 20:49
Lev Danielyan11-Dec-08 20:49 
AnswerRe: Unicode font sample application Pin
leppie11-Dec-08 20:52
leppie11-Dec-08 20:52 
GeneralRe: Unicode font sample application Pin
Lev Danielyan11-Dec-08 20:58
Lev Danielyan11-Dec-08 20:58 
QuestionResponse file in C# Pin
Sinol Jose11-Dec-08 19:29
Sinol Jose11-Dec-08 19:29 
AnswerRe: Response file in C# Pin
N a v a n e e t h11-Dec-08 19:40
N a v a n e e t h11-Dec-08 19:40 
GeneralRe: Response file in C# Pin
TJS4u11-Dec-08 19:45
TJS4u11-Dec-08 19:45 
GeneralRe: Response file in C# Pin
Sinol Jose11-Dec-08 19:47
Sinol Jose11-Dec-08 19:47 
GeneralRe: Response file in C# Pin
Mycroft Holmes11-Dec-08 20:08
professionalMycroft Holmes11-Dec-08 20:08 
GeneralRe: Response file in C# Pin
Sinol Jose11-Dec-08 20:16
Sinol Jose11-Dec-08 20:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.