Mesh with holes from polylines in rhinowip to C#

Looks like it still wants Polylines even though type is curve.
Capture