/// <summary> /// 获取WebService单例 /// </summary> /// <returns></returns> public static Alcohol getAlcoholInstance() { if (_instance == null) { lock (lockHelper) { if (_instance == null) { _instance = new Alcohol(); } } } return _instance; }
/// <summary> /// 获取WebService单例 /// </summary> /// <returns></returns> public static Alcohol getAlcoholInstance() { if (_instance == null) { lock (lockHelper) { if (_instance == null) { _instance = new Alcohol(); } } } return(_instance); }