internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationItem item) { SyndicationFeedFormatter.LoadElementExtensions(buffer, writer, item); }
protected static SyndicationCategory CreateCategory(SyndicationItem item) { return(SyndicationFeedFormatter.CreateCategory(item)); }
protected SyndicationItemFormatter() { _item = null; }
protected static async Task WriteElementExtensionsAsync(XmlWriter writer, SyndicationItem item, string version) { await SyndicationFeedFormatter.WriteElementExtensionsAsync(writer, item, version); }
protected static bool TryParseContent(XmlReader reader, SyndicationItem item, string contentType, string version, out SyndicationContent content) { return(SyndicationFeedFormatter.TryParseContent(reader, item, contentType, version, out content)); }
protected static bool TryParseElement(XmlReader reader, SyndicationItem item, string version) { return(SyndicationFeedFormatter.TryParseElement(reader, item, version)); }
protected static void LoadElementExtensions(XmlReader reader, SyndicationItem item, int maxExtensionSize) { SyndicationFeedFormatter.LoadElementExtensions(reader, item, maxExtensionSize); }
protected static bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version) { return(SyndicationFeedFormatter.TryParseAttribute(name, ns, value, item, version)); }
protected static SyndicationLink CreateLink(SyndicationItem item) { return(SyndicationFeedFormatter.CreateLink(item)); }
protected static SyndicationPerson CreatePerson(SyndicationItem item) { return(SyndicationFeedFormatter.CreatePerson(item)); }
public Rss20ItemFormatter(SyndicationItem itemToWrite) : this(itemToWrite, true) { }
internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationItem item) { if (item == null) { throw new ArgumentNullException(nameof(item)); } CloseBuffer(buffer, writer); item.LoadElementExtensions(buffer); }
internal static protected Task WriteAttributeExtensionsAsync(XmlWriter writer, SyndicationItem item, string version) { if (item == null) { throw new ArgumentNullException(nameof(item)); } return(item.WriteAttributeExtensionsAsync(writer, version)); }
internal static protected bool TryParseContent(XmlReader reader, SyndicationItem item, string contentType, string version, out SyndicationContent content) { return(item.TryParseContent(reader, contentType, version, out content)); }
internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationItem item, string version) { if (item == null) { throw new ArgumentNullException(nameof(item)); } if (FeedUtils.IsXmlns(name, ns)) { return(true); } return(item.TryParseAttribute(name, ns, value, version)); }