Beispiel #1
0
        static void Main(string[] args)
        {
            ProductManager productManager = new ProductManager(ForControlLogger.GetInstance());

            productManager.Save();

            Console.ReadLine();
        }
Beispiel #2
0
 public static ForControlLogger GetInstance()
 {
     lock (_lock)
     {
         if (_logger == null)
         {
             _logger = new ForControlLogger();
         }
     }
     return(_logger);
 }
Beispiel #3
0
 public void MakeTest()
 {
     ProductManager productManager = new ProductManager(ForControlLogger.GetInstance());
 }