This question is locked. New answers and comments are not allowed.
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}
}
}
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}
}
}