public void Init() { tea = new Tea(); coffee = new Coffee(); coffeeWithHook = new CoffeeWithHook(); teaWithHook = new TeaWithHook(); teaResult = new StringBuilder(); coffeeResult = new StringBuilder(); coffeeWithHookYesResult = new StringBuilder(); coffeeWithHookNoResult = new StringBuilder(); teaWithHookYesResult = new StringBuilder(); teaWithHookNoResult = new StringBuilder(); }
public void Dispose() { tea = null; coffee = null; coffeeWithHook = null; teaWithHook = null; teaResult = null; coffeeResult = null; coffeeWithHookYesResult = null; coffeeWithHookNoResult = null; teaWithHookYesResult = null; teaWithHookNoResult = null; }