More Related Content
Similar to Object Oriented Software Modeling and Design Patterns
Similar to Object Oriented Software Modeling and Design Patterns (20)
Object Oriented Software Modeling and Design Patterns
- 1. Object Oriented Software Modeling and Design CE 350 Abdel-Karim Al-Tamimi, Ph.D. [email_address] http://faculty.yu.edu.jo/altamimi Al-Tamimi 2011 ©
- 16. Singleton Implementation in C# Al-Tamimi 2011 © Public class Singleton { private static readonly Singleton _instance = new Singleton(); private Singleton() { } public static Singleton Instance { get { return _instance; } } }
- 25. MVC Pattern Communications Al-Tamimi 2011 © :Controller :Model :View 1 2 3 1 2 3 Update: Collect input data and passes them to Model object Notify: Change the model state and notify dependent Controller object Notify: Change the model state and notify dependent View object