//得到该对象 public static Singleton_Lock GetInstance() { lock (locker) { if (uniqueInstance == null) { uniqueInstance = new Singleton_Lock(); } } return uniqueInstance; }
//得到该对象 public static Singleton_Lock GetInstance() { lock (locker) { if (uniqueInstance == null) { uniqueInstance = new Singleton_Lock(); } } return(uniqueInstance); }