GetProperties() public method

public GetProperties ( ) : string>.Dictionary
return string>.Dictionary
Ejemplo n.º 1
0
        protected internal virtual SSLConfig ParseSSLConfig(XmlNode node)
        {
            var sslConfig   = new SSLConfig();
            var atts        = node.Attributes;
            var enabledNode = atts.GetNamedItem("enabled");
            var enabled     = enabledNode != null && CheckTrue(GetTextContent(enabledNode).Trim());

            sslConfig.SetEnabled(enabled);
            foreach (XmlNode n in node.ChildNodes)
            {
                var nodeName = CleanNodeName(n.Name);
                if ("properties".Equals(nodeName))
                {
                    FillProperties(n, sslConfig.GetProperties());
                }
            }
            return(sslConfig);
        }
 protected internal virtual SSLConfig ParseSSLConfig(XmlNode node)
 {
     var sslConfig = new SSLConfig();
     var atts = node.Attributes;
     var enabledNode = atts.GetNamedItem("enabled");
     var enabled = enabledNode != null && CheckTrue(GetTextContent(enabledNode).Trim());
     sslConfig.SetEnabled(enabled);
     foreach (XmlNode n in node.ChildNodes)
     {
         var nodeName = CleanNodeName(n.Name);
         if ("properties".Equals(nodeName))
         {
             FillProperties(n, sslConfig.GetProperties());
         }
     }
     return sslConfig;
 }