Implementing interface properties

When implementing interface properties, would it be possible to generate more useful code. As opposed to doing:


i think most of the time, this would be more useful:

2 comments
Comment actions Permalink

Karl,

There are several open requests in the tracker close to your suggestion:
http://www.intellij.net/tracker/resharper/viewSCR?publicId=2642
http://www.intellij.net/tracker/resharper/viewSCR?publicId=3828
We plan to make generated bodies customizable and include option to generate
properties as field wrappers.

--
Andrey Simanovsky
Software Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"



"karl" <no_mail@jetbrains.com> wrote in message
news:29028901.1089982421379.JavaMail.itn@is.intellij.net...

When implementing interface properties, would it be possible to generate

more useful code. As opposed to doing:
>

    get { throw new NotImplementedException(); }
>    set { throw new NotImplementedException(); }
> }]]>

>

i think most of the time, this would be more useful:

>

 public string Key {
>    get { return key; }
>    set { key = value; }
> }]]>



0
Comment actions Permalink

Thanks...RC3 is by far the smoothest release btw, still semi-hangs during install though.

0

Please sign in to leave a comment.