
This tutorial is about composite pattern, which is my thoghts after watching the tutorial created by Christopher Okhravi.


1: namespace TemplateMethodConsole
2: {3: abstract class ImageProcessor
4: {5: public void ProcRoutine()
6: { 7: Input(); 8: ImageProc(); 9: Output(); 10: }11: public virtual void Input()
12: {13: Console.Write("Load file: ");
14: }15: public virtual void ImageProc()
16: {17: Console.Write("Image processing: ");
18: }19: public virtual void Output()
20: {21: Console.Write("Output file: ");
22: } 23: } 24: }






