static void Main(string[] args) { ProductManager productManager = new ProductManager(ForControlLogger.GetInstance()); productManager.Save(); Console.ReadLine(); }
public static ForControlLogger GetInstance() { lock (_lock) { if (_logger == null) { _logger = new ForControlLogger(); } } return(_logger); }
public void MakeTest() { ProductManager productManager = new ProductManager(ForControlLogger.GetInstance()); }