示例#1
0
 public static PublicBiz GetInstant()
 {
     if (Instant == null)
     {
         lock (lockHelper)
         {
             if (Instant == null)
             {
                 Instant = new PublicBiz();
             }
         }
     }
     return(Instant);
 }
示例#2
0
        public static PublicBiz GetInstant()
        {
            if (Instant == null)
            {
                lock (lockHelper)
                {
                    if (Instant == null)
                    {
                        Instant = new PublicBiz();
                    }
                }

            }
            return Instant;
        }