示例#1
0
        public void TestCase1()
        {
            Component component1 = new ConcreteComponent();
            Component component2 = new ConcreteDecorator(component1);

            component2.Operation();
        }
        public void TestCase1()
        {
            Component component1 = new ConcreteComponent();
              Component component2 = new ConcreteDecorator(component1);

              component2.Operation();
        }