[ 
https://issues.apache.org/jira/browse/THRIFT-129?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12627978#action_12627978
 ] 

Michael Ward commented on THRIFT-129:
-------------------------------------

There is no reason the code can't be as you described.  As you can probably 
tell I'm not using Thrift's Exception type.  

Would you like me to resubmit the patch as you described?  Are there any other 
issues that would prevent this update from being applied?

> Update CSharp compiler and Library to generate data structures that extend 
> TBase.cs
> -----------------------------------------------------------------------------------
>
>                 Key: THRIFT-129
>                 URL: https://issues.apache.org/jira/browse/THRIFT-129
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (C#), Library (C#)
>            Reporter: Michael Ward
>         Attachments: my.patch
>
>
> The C# library does not currently have a base class/interface for the data 
> structures being generated to extend from.  Without this you are required to 
> access the Read(TProtocol) and Write(TProtocol) methods via reflection.  
> I have created a patch the defines the TBase class and updates the generator 
> to use this for the data structures created.  This change is similar to what 
> Thrift currently provides for Java.
> Cheers,
> Mike

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to