public void Method() { // 2. Confirm constructor has been replaced with factory method call var @class = new ConvertConstructorToFactoryMethod("Debbie", "Harry", 23); }
public void Method() { // 2. 确认构造函数已经被工厂方法替换 var @class = new ConvertConstructorToFactoryMethod("Debbie", "Harry", 23); }