Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Bad implementation of Infragistics.Controls.Charts.ValueMapper class
posted

I want to create my own value mapper, similar to ColorMapper. It's not very difficult, but I want make my mapper not dependent on exact data type. So I want to utilize methods already present in ValueMapper class, such as GetDoubleValue(), FindTargetElement(), SetTargetValue() etc. But wait, I can't, because they are marked as internal instead of protected. So i must copy them to my mapper (or reinvent wheel - come up with my own code, very similar to code already present in ValueMapper class).

Can somebody tell me, why these methods are internal instead of (virtual) protected ?