protected override void DeserializeSection(System.Xml.XmlReader reader) { if (reader.NodeType == System.Xml.XmlNodeType.None) { reader.Read(); } _configData = DeserializeILoggerServerConfigurationElem(reader); }
public static ILoggerServerConfiguration CopyInh(ILoggerServerConfiguration src) { if (src == null) { return(null); } if (src.GetType() == typeof(LoggerServerConfigurationImplement)) { return(((LoggerServerConfigurationImplement)src).Copy()); } if (src.GetType() == typeof(LoggerServerConfigurationImplement)) { return(((LoggerServerConfigurationImplement)src).Copy()); } throw new Exception("Unknown type: " + src.GetType().ToString()); }
protected override void InitializeDefault() { base.InitializeDefault(); _configData = new LoggerServerConfigurationImplement(); }