Nuve.Reader.OrthographyReader.ReadOrthographyRule C# (CSharp) Метод

ReadOrthographyRule() приватный Метод

private ReadOrthographyRule ( XmlNode ruleNode ) : Nuve.Orthographic.OrthographyRule
ruleNode System.Xml.XmlNode
Результат Nuve.Orthographic.OrthographyRule
        private OrthographyRule ReadOrthographyRule(XmlNode ruleNode)
        {
            //string description = ruleNode["description"].InnerText;
            var id = ruleNode.Attributes["id"].InnerText;
            var level = ruleNode.Attributes["phase"].InnerText;
            var transforms = ReadTransformations(ruleNode);
            return new OrthographyRule(id, int.Parse(level), transforms);
        }