This is a migrated thread and some comments may be shown as answers.

Tweaking 'Add stubs for Required Members'

1 Answer 30 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Peter
Top achievements
Rank 1
Peter asked on 03 Jan 2013, 07:04 AM
Hi

Is it possible to modify the default settings for "Add stubs for Required Members". For example it'll make a property like this:
public Asset asset
{
      get
       {
           // TODO: Implement this property getter
           throw new NotImplementedException();
       }
       set
       {
            // TODO: Implement this property setter
            throw new NotImplementedException();
       }
}
I'm wondering if I could add things to the public getter and setter generator (eg. return a field and/or add NotifyPropertyChanged)? That would be most useful. :)

1 Answer, 1 is accepted

Sort by
0
Accepted
Zdravko
Telerik team
answered on 03 Jan 2013, 12:31 PM
Hello,

 Thanks for contacting us.
Unfortunately, you are not able to extend this command, but you can try to write your own extension for JustCode which could do what you are expecting. Here is some more info about JustCode extensions and we have some sample projects added to github.
Thanks.

All the best,
Zdravko
the Telerik team
Share what you think about JustCode with us, so we can help you even better! You can use the built-in feedback tool inside JustCode, our forum, or our JustCode feedback portal.
Tags
General Discussions
Asked by
Peter
Top achievements
Rank 1
Answers by
Zdravko
Telerik team
Share this question
or