Let's say I have a complex class, perhaps a House so I separate out its creation logic into a factory class, HouseFactory.Build()
However, these classes are for a API DLL, and we've found that many of our consumers are confused and unable to discern that they need to use the HouseFactory, so we add the following static shortcut function to the House class:
class House
{
public static House Build()
{
return houseFactory.Build();
}
}
What would the potential drawbacks be, of having a creation method in the class that outsources the actual logic to a factory?