コード例 #1
0
 protected Task WriteElementExtensionsAsync(XmlWriter writer, SyndicationPerson person, string version)
 {
     return(SyndicationFeedFormatter.WriteElementExtensionsAsync(writer, person, version));
 }
コード例 #2
0
 internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationPerson person)
 {
     SyndicationFeedFormatter.LoadElementExtensions(buffer, writer, person);
 }
コード例 #3
0
 protected static bool TryParseElement(XmlReader reader, SyndicationPerson person, string version)
 {
     return(SyndicationFeedFormatter.TryParseElement(reader, person, version));
 }
コード例 #4
0
 protected static async Task WriteAttributeExtensionsAsync(XmlWriter writer, SyndicationPerson person, string version)
 {
     await SyndicationFeedFormatter.WriteAttributeExtensionsAsync(writer, person, version);
 }
コード例 #5
0
 protected static bool TryParseAttribute(string name, string ns, string value, SyndicationPerson person, string version)
 {
     return(SyndicationFeedFormatter.TryParseAttribute(name, ns, value, person, version));
 }
コード例 #6
0
 protected static void LoadElementExtensions(XmlReader reader, SyndicationPerson person, int maxExtensionSize)
 {
     SyndicationFeedFormatter.LoadElementExtensions(reader, person, maxExtensionSize);
 }
コード例 #7
0
        internal static void LoadElementExtensions(XmlBuffer buffer, XmlDictionaryWriter writer, SyndicationPerson person)
        {
            if (person == null)
            {
                throw new ArgumentNullException(nameof(person));
            }

            CloseBuffer(buffer, writer);
            person.LoadElementExtensions(buffer);
        }
コード例 #8
0
 internal static protected Task WriteAttributeExtensionsAsync(XmlWriter writer, SyndicationPerson person, string version)
 {
     if (person == null)
     {
         throw new ArgumentNullException(nameof(person));
     }
     return(person.WriteAttributeExtensionsAsync(writer, version));
 }
コード例 #9
0
 internal static protected bool TryParseAttribute(string name, string ns, string value, SyndicationPerson person, string version)
 {
     if (person == null)
     {
         throw new ArgumentNullException(nameof(person));
     }
     if (FeedUtils.IsXmlns(name, ns))
     {
         return(true);
     }
     return(person.TryParseAttribute(name, ns, value, version));
 }