History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: RSRP-34101
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Sergey Shkredov
Reporter: Andrew Serebryansky
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Extract class from parameters: Allow writable properties

Created: 05 Jan 07 13:49   Updated: 16 Jul 07 15:21
Component/s: Refactorings - Extract Class from Method Parameters
Fix Version/s: Future Versions
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 326


 Description  « Hide
Recently I wanted to use the "extract class from parameters" to refactor simplify methods of current WCF (Windows Communication Framework) interfaces. As you may know WCF requires contracts to be serializable, which means that the properties for the parameter generated by the "extract class from parameters" feature needs to be updatable.

I would like to sugget that the feature has a "readonly" checkbox, which is checked by default. When checked, the behaviour will be exactly as it is now (all properties are readonly). If not checked, properties generated will be updatable.

This will save me from having to remove the readonly flag from each private field and adding additional "set" methods for properties. For some classes that could save me a lot of work!



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.