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