Pablo

South Korea

icq: 5552087

1d
accepted How to prevent Json.NET converting enum to string?
2d
comment How to prevent Json.NET converting enum to string?
ah, so JSON spec itself preventing me to have non-string keys, right?
2d
comment How to prevent Json.NET converting enum to string?
I was hoping to understand why sometimes it converts to strings and sometimes not, because I read somewhere that JSON.NET converts enums to integers by default.
2d
asked How to prevent Json.NET converting enum to string?
Jul
24
comment Casting typed binding list
Question is how to have a base pointer and then bunch of children, then be able to store children in the base variable.
Jul
24
asked Casting typed binding list
Jul
24
accepted Combobox to sync selected value
Jul
24
comment Combobox to sync selected value
ahh, that quickly addressed the issue and now sync works :) How I could miss that...
Jul
24
asked Combobox to sync selected value
Jul
23
awarded Notable Question
Jul
22
accepted How to implement this particular class hierarchy?
Jul
22
comment How to implement this particular class hierarchy?
Yes, this is the way I also tried to go but it seemed to me weird - when child Equals is called, it's calling parent's helper and that helper is calling child's EqualsCore. No way to avoid this jump? Although this looks like addressing the issue, in other words is this the best approach?
Jul
22
comment How to implement this particular class hierarchy?
@usr: I don't need to compare newsletter to an event. It's always same child objects. newsletter to newsletter, event to event.
Jul
22
comment How to implement this particular class hierarchy?
So it's reasonable compiler error.
Jul
22
comment How to implement this particular class hierarchy?
CMBase is abstract but it is contained in non-abstract class
Jul
22
comment How to implement this particular class hierarchy?
@Sriram Sakthivel, @Andrew Counts: I will substitude IComperable to IEquatable, but the question remains same.
Jul
22
comment How to implement this particular class hierarchy?
@Carsten König: yes I want to compare CMNewsletter to another CMNewsletter instance using some base class objects as reference and copy. But this can be other class also like CMEvent and I don't want the code dealing with reference/copy comparison know about each child class. I think what I want is polymorphism?
Jul
22
asked How to implement this particular class hierarchy?
Jul
21
accepted C# method implementation with dot notation
Jul
21
asked C# method implementation with dot notation
1 2 3 4 5