コード例 #1
0
        public override bool Equals(object obj)
        {
            QNameValue other = obj as QNameValue;

            if (other != null)
            {
                if (LocalName == other.LocalName &&
                    NamespaceUri == other.NamespaceUri)
                {
                    return(true);
                }
            }
            return(false);
        }
コード例 #2
0
 public static NotationValue Parse(string name, XmlNamespaceManager resolver)
 {
     return(new NotationValue(QNameValue.Parse(name, resolver)));
 }
コード例 #3
0
 public NotationValue(QNameValue name)
 {
     Prefix       = name.Prefix;
     LocalName    = name.LocalName;
     NamespaceUri = name.NamespaceUri;
 }