Click here to Skip to main content
15,913,669 members
Home / Discussions / C#
   

C#

 
QuestionRe: c# Pin
Member 122800337-May-16 4:42
Member 122800337-May-16 4:42 
AnswerRe: c# Pin
Richard MacCutchan7-May-16 5:08
mveRichard MacCutchan7-May-16 5:08 
Questionc# Pin
Member 125041034-May-16 21:59
Member 125041034-May-16 21:59 
AnswerRe: c# Pin
Simon_Whale4-May-16 22:03
Simon_Whale4-May-16 22:03 
AnswerRe: c# Pin
OriginalGriff4-May-16 23:29
mveOriginalGriff4-May-16 23:29 
QuestionHow to deserialize an XML with information about a custom object, using DataContract? Pin
Member 125017234-May-16 18:21
Member 125017234-May-16 18:21 
AnswerRe: How to deserialize an XML with information about a custom object, using DataContract? Pin
Member 125017234-May-16 19:01
Member 125017234-May-16 19:01 
Questionproject Convert of Binary To Decimal Pin
Member 120777803-May-16 19:23
Member 120777803-May-16 19:23 
AnswerRe: project Convert of Binary To Decimal Pin
OriginalGriff3-May-16 19:43
mveOriginalGriff3-May-16 19:43 
AnswerRe: project Convert of Binary To Decimal Pin
Patrice T3-May-16 21:56
mvePatrice T3-May-16 21:56 
AnswerRe: project Convert of Binary To Decimal Pin
Pete O'Hanlon3-May-16 23:32
mvePete O'Hanlon3-May-16 23:32 
AnswerRe: project Convert of Binary To Decimal Pin
DaveyM694-May-16 4:21
professionalDaveyM694-May-16 4:21 
Questioninterface inherits from interface, method over-ridden: my brain is stuck Pin
BillWoodruff3-May-16 7:24
professionalBillWoodruff3-May-16 7:24 
AnswerRe: interface inherits from interface, method over-ridden: my brain is stuck Pin
Sascha Lefèvre3-May-16 10:20
professionalSascha Lefèvre3-May-16 10:20 
GeneralRe: interface inherits from interface, method over-ridden: my brain is stuck Pin
BillWoodruff4-May-16 2:55
professionalBillWoodruff4-May-16 2:55 
Hi Sascha, I appreciate your reply, but remain intellectually unsatisfied Smile | :) I think it's clear that the fact I am re-defining the 'VMouseDown Action so it has an extra parameter in IControl is what's determining the requirement that anything that inherits from IControl also implement the 'VMouseDown in 'IViewModel that uses only one parameter.

I suppose there's an outside chance that what I may be observing here has something to do with the "nature" of the 'Action and 'Func delegates, and I'll try and test this using a Delegate defined in the "usual" way to exclude that hypothesis.

But, then, what is the use of over-riding in an Interface for ? Why allow it ?

It's easy to work-around this by just redefining the Interfaces, but I am really curious about what I observe.
«There is a spectrum, from "clearly desirable behaviour," to "possibly dodgy behavior that still makes some sense," to "clearly undesirable behavior." We try to make the latter into warnings or, better, errors. But stuff that is in the middle category you don’t want to restrict unless there is a clear way to work around it.» Eric Lippert, May 14, 2008

GeneralRe: interface inherits from interface, method over-ridden: my brain is stuck Pin
Sascha Lefèvre4-May-16 4:45
professionalSascha Lefèvre4-May-16 4:45 
GeneralRe: interface inherits from interface, method over-ridden: my brain is stuck Pin
BillWoodruff4-May-16 8:49
professionalBillWoodruff4-May-16 8:49 
QuestionC# Get system information on remote computer and display result in a listbox Pin
oluwatosin agbabiaka2-May-16 15:15
oluwatosin agbabiaka2-May-16 15:15 
AnswerRe: C# Get system information on remote computer and display result in a listbox Pin
Garth J Lancaster2-May-16 15:51
professionalGarth J Lancaster2-May-16 15:51 
AnswerRe: C# Get system information on remote computer and display result in a listbox Pin
Pete O'Hanlon2-May-16 19:34
mvePete O'Hanlon2-May-16 19:34 
AnswerRe: C# Get system information on remote computer and display result in a listbox Pin
ZurdoDev3-May-16 3:07
professionalZurdoDev3-May-16 3:07 
QuestionGet 802.11 frames from access point ? Pin
mohammed qaid2-May-16 12:55
mohammed qaid2-May-16 12:55 
AnswerRe: Get 802.11 frames from access point ? Pin
Nathan Minier3-May-16 1:45
professionalNathan Minier3-May-16 1:45 
GeneralRe: Get 802.11 frames from access point ? Pin
mohammed qaid3-May-16 7:52
mohammed qaid3-May-16 7:52 
GeneralRe: Get 802.11 frames from access point ? Pin
Nathan Minier3-May-16 7:59
professionalNathan Minier3-May-16 7:59 

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.