コード例 #1
0
 protected override void DeserializeSection(System.Xml.XmlReader reader)
 {
     if (reader.NodeType == System.Xml.XmlNodeType.None)
     {
         reader.Read();
     }
     _configData = DeserializeILoggerServerConfigurationElem(reader);
 }
コード例 #2
0
        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());
        }
コード例 #3
0
 protected override void InitializeDefault()
 {
     base.InitializeDefault();
     _configData = new LoggerServerConfigurationImplement();
 }