static void Main(string[] args) { Repository repo = new Repository("myConnectionString"); repo.Database.CreateIfNotExists(); ConsoleWrapper cw = new ConsoleWrapper(); QueueFactory qf = new QueueFactory(); MyTupleFactory mtf = new MyTupleFactory(); ClientFactory cf = new ClientFactory(); Pomocne_funkcijeSubscribe pfs = new Pomocne_funkcijeSubscribe(mtf, qf); Pomocne_funkcijeCreate pfc = new Pomocne_funkcijeCreate(mtf, qf); Pomocne_funkcijeUpdate.Pomocne_funkcijeUpdate pfu = new Pomocne_funkcijeUpdate.Pomocne_funkcijeUpdate(); Serverr server = new Serverr(cf, repo); Metode metode = new Metode(server, cw); Meni meni = new Meni(pfc, pfs, pfu); Model m = new Model(); Clientt c = new Clientt(); server.IscitajIzBazeNaPocetku(); meni.Menu(cw, metode); }
public MapArea(ConsoleWrapper console) : this() { this._console = console; }
public ConsoleMenu(ConsoleWrapper console) { this._console = console; }
public MessageArea(ConsoleWrapper console) { this._console = console; }