//------------------------------------------------------------------------------------------------------ #endregion //------------------------------------------------------------------------------------------------------ #region Methods //------------------------------------------------------------------------------------------------------ /// <summary> /// Возвращает объект журнала приложений /// </summary> /// <returns></returns> public static XmlLog GetInstance() { if (_XmlLog == null) { lock (typeof(XmlLog)) { if (_XmlLog == null) { _XmlLog = new XmlLog(); } } } return(_XmlLog); }
//------------------------------------------------------------------------------------------------------ #endregion //------------------------------------------------------------------------------------------------------ #region Methods //------------------------------------------------------------------------------------------------------ /// <summary> /// Возвращает объект журнала приложений /// </summary> /// <returns></returns> public static XmlLog GetInstance() { if (_XmlLog == null) { lock (typeof(XmlLog)) { if (_XmlLog == null) { _XmlLog = new XmlLog(); } } } return _XmlLog; }