There seems to be an "impedance mismatch" (if I can borrow the term) between similar classes in ArcObjects and the WPF runtime libraries. For example, there is a ESRI.ArcGIS.Client.Geometry.Polyline in the WPF runtime and a ESRI.ArcGIS.Geometry.IPolyline (and corresponding PolylineClass) in ArcObjects.
I want to be able to do something like this (or at least similar):
var poly = new ESRI.ArcGIS.Client.Geometry.Polyline();
var ipoly = new ESRI.ArcGIS.Geometry.PolylineClass();
// stuff happens
poly = ipoly;
Is there an easy way to convert between the two? Or am I going to have to write some deep copy methods?