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));
 }
Exemplo n.º 10
0
 protected static SyndicationPerson CreatePerson(SyndicationItem item)
 {
     return(SyndicationFeedFormatter.CreatePerson(item));
 }
Exemplo n.º 11
0
 public Rss20ItemFormatter(SyndicationItem itemToWrite)
     : this(itemToWrite, true)
 {
 }
Exemplo n.º 12
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationItem item)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     CloseBuffer(buffer, writer);
     item.LoadElementExtensions(buffer);
 }
Exemplo n.º 13
0
 internal static protected Task WriteAttributeExtensionsAsync(XmlWriter writer, SyndicationItem item, string version)
 {
     if (item == null)
     {
         throw new ArgumentNullException(nameof(item));
     }
     return(item.WriteAttributeExtensionsAsync(writer, version));
 }
Exemplo n.º 14
0
 internal static protected bool TryParseContent(XmlReader reader, SyndicationItem item, string contentType, string version, out SyndicationContent content)
 {
     return(item.TryParseContent(reader, contentType, version, out content));
 }
Exemplo n.º 15
0
 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));
 }