How can I expose a 3rd party's enum through my asmx?

Posted by Jim G. on Stack Overflow See other posts from Stack Overflow or by Jim G.
Published on 2010-05-13T14:51:47Z Indexed on 2010/05/13 14:54 UTC
Read the original article Hit count: 245

Filed under:
|
|
|
|

Given:

  • An asmx web service.
  • A 3rd party dll that contains a useful enum.

Question:

How can I expose this enum through my web service without having to repeat myself and re-type the enum's members in my webservice's public class?

© Stack Overflow or respective owner

Related posts about asmx

Related posts about c#