You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Abate (JIRA)" <ji...@apache.org> on 2008/11/13 21:08:44 UTC

[jira] Created: (THRIFT-205) C# Properties

C# Properties
-------------

                 Key: THRIFT-205
                 URL: https://issues.apache.org/jira/browse/THRIFT-205
             Project: Thrift
          Issue Type: Improvement
          Components: Compiler (C#)
    Affects Versions: 0.1
            Reporter: Anthony Abate
             Fix For: 0.1


Theres a lot of public members in the generated C# classes.

It would be more natural in C# to generate public properties with getters  / setters and keep the data members protected or private.




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


[jira] Resolved: (THRIFT-205) C# Properties

Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/THRIFT-205?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Greene resolved THRIFT-205.
-----------------------------------

    Resolution: Duplicate

This is a duplicate of some of the functionality in THRIFT-25, the patch for which has been committed.

> C# Properties
> -------------
>
>                 Key: THRIFT-205
>                 URL: https://issues.apache.org/jira/browse/THRIFT-205
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (C#)
>    Affects Versions: 0.1
>            Reporter: Anthony Abate
>             Fix For: 0.1
>
>
> Theres a lot of public members in the generated C# classes.
> It would be more natural in C# to generate public properties with getters  / setters and keep the data members protected or private.

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


[jira] Commented: (THRIFT-205) C# Properties

Posted by "Michael Greene (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/THRIFT-205?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12658958#action_12658958 ] 

Michael Greene commented on THRIFT-205:
---------------------------------------

This is exactly what THRIFT-25 does.

> C# Properties
> -------------
>
>                 Key: THRIFT-205
>                 URL: https://issues.apache.org/jira/browse/THRIFT-205
>             Project: Thrift
>          Issue Type: Improvement
>          Components: Compiler (C#)
>    Affects Versions: 0.1
>            Reporter: Anthony Abate
>             Fix For: 0.1
>
>
> Theres a lot of public members in the generated C# classes.
> It would be more natural in C# to generate public properties with getters  / setters and keep the data members protected or private.

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