silverlight TypeDescriptor.GetConverter substitute
Posted
by luke
on Stack Overflow
See other posts from Stack Overflow
or by luke
Published on 2010-06-03T01:21:28Z
Indexed on
2010/06/03
1:24 UTC
Read the original article
Hit count: 1061
I am trying to use the LINQtoSQL project in silverlight (its a great project), because its open sourced i figured i could just recompile as a silverlight class library but unfortunately it appears to use a feature not available in silverlight. The TypeDescriptor.GetConverter method.
It uses this to find type converters to properly parse the csv columns to their corresponding CLR types. I have no problem making changes to the linqtocsv sources to make it work in Silverlight, but i just don't know what an equivalent operation would be in silverlight. Various google searches have brought me to this page, but all that says is that the XAML parser has a way of doing this (but it doesn't say how to access this functionality).
In a nutshell, the question is:
how do i replicate the functionality of TypeDescriptor.GetConverter
?
© Stack Overflow or respective owner