Just realized that there is no way to generate ctors for a class (C#/C++), although there are some other add-ins out there that do it.
Would be a really nice feature to be able to create ctors depending on properties and base classes
example:
public class someBase
{
public someBase(int val)
{ ... }
}
public class someClass : someBase
{
private String _memberName;
}
creating the ctors for someClass could allow to create the following:
public class someClass : someBase
{
private String _memberName;
public someClass(int val) : base(val)
{}
public someClass(String memberName, int val) : base(val)
{
_memberName = memberName;
}
}
Sure it gets a bit hairy when you have multiple base classes (C++ and C# 4.0 ?) but I am sure that this can be solved too.