Exemplo n.º 1
0
 public void Examine()
 {
     DoSomethingExtra();              //  extension Point!!!!
     DecoratedExaminer.Examine();     //  but still do the original stuff
 }
Exemplo n.º 2
0
 static void Main(string[] args)
 {
     Examiner = new DecoratorExaminer(new ConcreteExaminer());
     Examiner.Examine();
 }