public void TestMethod() { IText text = new TextObject(); text = new BoldDecorator(text); text = new ColorDecorator(text); //text = new BlockAllDecortor(text); Console.WriteLine(text.Content); }
public void TestMethod() { IText text = new TextObject(); text = new BoldDecorator(text); text = new ColorDecorator(text); //text = new BlockAllDecortor(text); Console.WriteLine(text.Content); }