static void Main(string[] args) { #region 结构实现 Structural.Facade facade = new Structural.Facade(); facade.MethodA(); facade.MethodB(); #endregion Console.WriteLine("******************************"); #region 实践应用 #endregion Console.ReadKey(); }
internal void ClientCode(Facade facade) { Console.WriteLine(facade.Operation()); }