示例#1
0
 public static LColorPool Get()
 {
     lock (typeof(LColorPool))
     {
         if (colorPool == null)
         {
             colorPool = new LColorPool();
         }
     }
     return(colorPool);
 }
示例#2
0
 public static void FreeStatic()
 {
     colorPool = null;
 }