Enhanced "Extract Interface" functionality

Brian Kotek's Avatar

Brian Kotek

18 Jan, 2012 05:00 PM via web

As we all probably know, public properties in a class can't be declared in an interface. However, public get/set pairs CAN be declared in an interface. So it would be really cool to choose "Extract Interface" and be able to choose public properties as well as methods. Sourcemate would create the interface using get/set methods, and would replace the properties in the implementing classes with get/set pairs if they don't already exist.

  1. Support Staff 2 Posted by Chris on 19 Jan, 2012 12:08 PM

    Chris's Avatar

    Hi Brian,

    Good idea. We'll see if we can work this into an upcoming release.

    Thanks,
    -Chris

Reply to this discussion

Internal reply

Formatting help or Preview

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.