Пример #1
0
		public static LColorPool _() {
			 lock (typeof(LColorPool)) {
						if (pool == null) {
							pool = new LColorPool();
						}
					}
			return pool;
		}
Пример #2
0
 public static LColorPool _()
 {
     lock (typeof(LColorPool)) {
         if (pool == null)
         {
             pool = new LColorPool();
         }
     }
     return(pool);
 }