public override void Make() { _01MakeCoffee makeCoffee = this.MakeCoffee(); Console.Write("中杯"); makeCoffee.Making(); }
public _01MakeCoffeeSingleton(_01MakeCoffee instance) { _instance = instance; }
public _02Coffee() { _makeCoffee = _01MakeCoffeeSingleton.Instance(); }