예제 #1
0
 public static ZooReader GetInstance()
 {
     lock (lockObj)
     {
         if (reader == null)
         {
             reader = new ZooReader();
         }
         return(reader);
     }
 }
예제 #2
0
 private ZooConsole()
 {
     reader     = ZooReader.GetInstance();
     helpedList = new List <Component>();
 }