示例#1
0
        protected override bool TryParseElement(System.Xml.XmlReader reader, string version)
        {
            if (version == SyndicationVersions.Atom10 &&
                reader.NamespaceURI == InReplyToElement.NsUri &&
                reader.LocalName == InReplyToElement.ElementName)
            {
                this.inReplyTo = new InReplyToElement();

                this.InReplyTo.ReadXml(reader);

                return(true);
            }
            else
            {
                return(base.TryParseElement(reader, version));
            }
        }
示例#2
0
        protected override bool TryParseElement(System.Xml.XmlReader reader, string version)
        {
            if (version == SyndicationVersions.Atom10 &&
                reader.NamespaceURI == InReplyToElement.NsUri &&
                reader.LocalName == InReplyToElement.ElementName)
            {
                this.inReplyTo = new InReplyToElement();

                this.InReplyTo.ReadXml(reader);

                return true;
            }
            else
            {
                return base.TryParseElement(reader, version);
            }
        }
示例#3
0
 public ThreadedItem(string title, string content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime) :
     base(title, content, itemAlternateLink, id, lastUpdatedTime)
 {
     inReplyTo = new InReplyToElement();
 }
示例#4
0
 public ThreadedItem()
 {
     inReplyTo = new InReplyToElement();
 }
示例#5
0
 public ThreadedItem(string title, string content, Uri itemAlternateLink, string id, DateTimeOffset lastUpdatedTime) :
     base(title, content, itemAlternateLink, id, lastUpdatedTime)
 {
     inReplyTo = new InReplyToElement();
 }
示例#6
0
 public ThreadedItem()
 {
     inReplyTo = new InReplyToElement();
 }