Hi,
I have Visual Studio 2008 with Resharper, does anyone know if there is any refactorings available that let you say create a class and use a member variable as a mixin?
As a basic example, alot of the time you might want to implement a particular interface and use 95% of the underlying code of an already existing object (such as a list), is there any way to easily hook up those methods automatically? (Assume the class i want to use functionality from is SEALED and inheriting from it and overriding methods is not an option.
class CustomList : IList<string>
{
List<string> m_list
void Add(string val){ m_list.Add(val) }
void Delete(string val){ m_list.Delete(val) }
....etc
}