Design Pattern Serisi 1: Singleton

Singleton Pattern

Singleton Pattern Class Diagram
Uygulamanın ilk versiyonu

ActionHistory_V1.ActionHistory_V1()’ is inaccessible due to its protection level

Uygulamanın ikinci versiyonu
IActionHistory history = ActionHistory_V2.Instance;
history.AddAction(“delete”);
var lastAction = history.RetrieveLastAction();
Uygulamanın son versiyonu

--

--

ITU. CE. LCWaikiki www.alimozdemir.com

Love podcasts or audiobooks? Learn on the go with our new app.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store