摘要:
using System; using System.Collections; using System.Xml; namespace Services.Tool { public class XmlHelper { #region 公共变量 public static XmlDocument xmldoc; public stat... 阅读全文
摘要:
namespace System { /// /// 为指定的实例创建有线程安全的单例模式。实例必须有一个公开的,无参数的构造方法,并且能正确的被实例化。 /// /// 作为单例的对象。 public static class Singleton where T : class { static volatile... 阅读全文