Wrapper Refactor Idea

2 posts, 0 answers
  1. MiddleTommy
    MiddleTommy avatar
    163 posts
    Member since:
    Nov 2009

    Posted 06 May 2011 Link to this post

    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}
        }
    }
  2. Svetlozar
    Admin
    Svetlozar avatar
    269 posts

    Posted 10 May 2011 Link to this post

    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
  3. DevCraft banner
Back to Top