System.Xml.Xsl.XmlQualifiedNameTest.ToString C# (CSharp) Method

ToString() public method

String representation
public ToString ( ) : string
return string
        public override string ToString() {
            if ((object)this == (object)Wildcard) {
                return "*";
            }
            else {
                if (this.Namespace.Length == 0) {
                    return this.Name;
                }
                else if ((object)this.Namespace == (object)wildcard) {
                    return "*:" + this.Name;
                }
                else if (this.exclude) {
                    return  "{~" + this.Namespace + "}:" + this.Name;
                }
                else {
                    return  "{" + this.Namespace + "}:" + this.Name;
                }
            }
        }