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

Wrapper Refactor Idea

1 Answer 22 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.
MiddleTommy
Top achievements
Rank 1
MiddleTommy asked on 06 May 2011, 03:41 PM
I think a cool refactoring would be
Create Wrapper.
when applied to a class it would wrap the class in a new class like so.
public class Foo{...}
public class FooWrapper
{
    private Foo _foo;
    public FooWrapper(Foo foo)
    {
        _foo = foo;
    }

    ///wraps each public property like this
    public sting Bar
    {
        get{ return _foo.Bar}
        set{_foo.Bar = value}
    }
}

1 Answer, 1 is accepted

Sort by
0
Svetlozar
Telerik team
answered on 10 May 2011, 12:30 PM
Hello MiddleTommy,

Thank you for the feature request. This will be a great addition to JustCode. I added that item to our product backlog, here is the link for the PITS item.

I also added some Telerik points to your account for the great suggestion.

Regards,
Svetlozar Angelov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
General Discussions
Asked by
MiddleTommy
Top achievements
Rank 1
Answers by
Svetlozar
Telerik team
Share this question
or