106 references to FeedUtils
System.ServiceModel (106)
System\ServiceModel\Syndication\Atom10FeedFormatter.cs (26)
187if (FeedUtils.IsXmlns(name, ns)) 481Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri); 484writer.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(baseUriToWrite)); 505writer.WriteAttributeString(Atom10Constants.HrefTag, FeedUtils.GetUriString(link.Uri)); 594throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.GetString(SR.Atom10SpecRequiresTextConstruct, context, type)))); 608if (FeedUtils.IsXmlns(name, ns)) 634if (!FeedUtils.IsXmlns(attr.Name, attr.Namespace)) 661new XmlException(FeedUtils.AddLineInfo(reader, 689new XmlException(FeedUtils.AddLineInfo(reader, 750else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 802result.BaseUri = FeedUtils.CombineXmlBase(result.BaseUri, reader.Value); 808if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 892throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 896throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 916result.BaseUri = FeedUtils.CombineXmlBase(result.BaseUri, reader.Value); 919if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 980throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 984throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 1003link.BaseUri = FeedUtils.CombineXmlBase(link.BaseUri, reader.Value); 1025else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 1122if (FeedUtils.IsXmlns(name, ns)) 1222writer.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(feed.BaseUri)); 1266Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri); 1269dictWriter.WriteAttributeString("xml", "base", XmlNs, FeedUtils.GetUriString(baseUriToWrite));
System\ServiceModel\Syndication\AtomPub10CategoriesDocumentFormatter.cs (2)
239throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e)); 243throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e));
System\ServiceModel\Syndication\AtomPub10ServiceDocumentFormatter.cs (22)
196Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, categories.BaseUri); 236inlineCategories.BaseUri = FeedUtils.CombineXmlBase(inlineCategories.BaseUri, reader.Value); 254if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 330referencedCategories.BaseUri = FeedUtils.CombineXmlBase(referencedCategories.BaseUri, reader.Value); 344if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 430writer.WriteAttributeString(App10Constants.Href, FeedUtils.GetUriString(categories.Link)); 438writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUri)); 457result.BaseUri = FeedUtils.CombineXmlBase(result.BaseUri, reader.Value); 467if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 570if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 630throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e)); 634throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingDocument), e)); 649result.BaseUri = FeedUtils.CombineXmlBase(result.BaseUri, reader.Value); 655if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 720Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, collection.BaseUri); 728writer.WriteAttributeString(App10Constants.Href, FeedUtils.GetUriString(collection.Link)); 772Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, workspace.BaseUri);
System\ServiceModel\Syndication\Rss20FeedFormatter.cs (35)
268new XmlException(FeedUtils.AddLineInfo(reader, 290new XmlException(FeedUtils.AddLineInfo(reader, 326new XmlException(FeedUtils.AddLineInfo(reader, 490link.BaseUri = FeedUtils.CombineXmlBase(link.BaseUri, reader.Value); 492else if (!FeedUtils.IsXmlns(reader.LocalName, reader.NamespaceURI)) 533if (FeedUtils.IsXmlns(name, ns)) 584result.BaseUri = FeedUtils.CombineXmlBase(result.BaseUri, reader.Value); 587if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 678if (FeedUtils.IsXmlns(name, ns)) 687else if (!FeedUtils.IsXmlns(name, ns)) 751throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 755throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingItem), e)); 773link.BaseUri = FeedUtils.CombineXmlBase(link.BaseUri, reader.Value); 776if (FeedUtils.IsXmlns(name, ns)) 793else if (!FeedUtils.IsXmlns(name, ns)) 837if (FeedUtils.IsXmlns(name, ns)) 873throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(FeedUtils.AddLineInfo(reader, (SR.GetString(SR.UnsupportedRssVersion, version))))); 896if (FeedUtils.IsXmlns(name, ns) || FeedUtils.IsXmlSchemaType(name, ns)) 1044throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 1048throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new XmlException(FeedUtils.AddLineInfo(reader, SR.ErrorParsingFeed), e)); 1055Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri); 1058writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite)); 1061writer.WriteString(FeedUtils.GetUriString(link.Uri)); 1095writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(this.Feed.BaseUri)); 1181writer.WriteElementString(Rss20Constants.UrlTag, FeedUtils.GetUriString(this.Feed.ImageUrl)); 1183string imgAlternateLink = (alternateLink != null) ? FeedUtils.GetUriString(alternateLink.Uri) : string.Empty; 1223Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(feedBaseUri, item.BaseUri); 1226writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite)); 1240if (guid == FeedUtils.GetUriString(item.Links[i].Uri)) 1330writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(selfLink.Uri)); 1432Uri baseUriToWrite = FeedUtils.GetBaseUriToWrite(baseUri, link.BaseUri); 1435writer.WriteAttributeString("xml", "base", Atom10FeedFormatter.XmlNs, FeedUtils.GetUriString(baseUriToWrite)); 1440writer.WriteAttributeString(Rss20Constants.UrlTag, Rss20Constants.Rss20Namespace, FeedUtils.GetUriString(link.Uri));
System\ServiceModel\Syndication\SyndicationFeed.cs (7)
89this.authors = FeedUtils.ClonePersons(source.authors); 90this.categories = FeedUtils.CloneCategories(source.categories); 91this.contributors = FeedUtils.ClonePersons(source.contributors); 92this.copyright = FeedUtils.CloneTextContent(source.copyright); 93this.description = FeedUtils.CloneTextContent(source.description); 100this.links = FeedUtils.CloneLinks(source.links); 101this.title = FeedUtils.CloneTextContent(source.title);
System\ServiceModel\Syndication\SyndicationFeedFormatter.cs (5)
173if (FeedUtils.IsXmlns(name, ns)) 186if (FeedUtils.IsXmlns(name, ns)) 199if (FeedUtils.IsXmlns(name, ns)) 212if (FeedUtils.IsXmlns(name, ns)) 225if (FeedUtils.IsXmlns(name, ns))
System\ServiceModel\Syndication\SyndicationItem.cs (7)
73this.authors = FeedUtils.ClonePersons(source.authors); 74this.categories = FeedUtils.CloneCategories(source.categories); 76this.contributors = FeedUtils.ClonePersons(source.contributors); 77this.copyright = FeedUtils.CloneTextContent(source.copyright); 80this.links = FeedUtils.CloneLinks(source.links); 87this.summary = FeedUtils.CloneTextContent(source.summary); 89this.title = FeedUtils.CloneTextContent(source.title);
System\ServiceModel\Syndication\UrlSyndicationContent.cs (1)
55writer.WriteAttributeString(Atom10Constants.SourceTag, string.Empty, FeedUtils.GetUriString(this.url));
System\ServiceModel\Syndication\XmlSyndicationContent.cs (1)
42else if (!FeedUtils.IsXmlns(name, ns))