コード例 #1
0
ファイル: XmlNodeExtensions.cs プロジェクト: widovd/NEUNET
        // Example:
        public static string AttributeToText(this XmlElement rootElement, string attributeName, string defaultValue)
        {
            XmlAttribute attribute = rootElement.GetOrCreateAttribute(attributeName);

            return(attribute.ReadString(defaultValue));
        }