示例#1
0
文件: XElem.cs 项目: skyiah/webready
        public bool Get(string name, ref bool v)
        {
            // try attribute
            if (attrs != null && attrs.TryGetValue(name, out var attr))
            {
                v = attr.ToBool();
                return(true);
            }

            return(false);
        }