Επεξεργασία

Κοινή χρήση μέσω


SyndicationFeedFormatter Class

Definition

An abstract class used as a base class for other formatters, (for example Atom10FeedFormatter).

public ref class SyndicationFeedFormatter abstract
[System.Runtime.Serialization.DataContract]
public abstract class SyndicationFeedFormatter
[<System.Runtime.Serialization.DataContract>]
type SyndicationFeedFormatter = class
Public MustInherit Class SyndicationFeedFormatter
Inheritance
SyndicationFeedFormatter
Derived
Attributes

Remarks

This class is abstract and cannot be instantiated directly.

Constructors

SyndicationFeedFormatter()

Creates a new instance of the SyndicationFeedFormatter class.

SyndicationFeedFormatter(SyndicationFeed)

Creates a new instance of the SyndicationFeedFormatter class with the specified SyndicationFeed instance.

Properties

DateTimeParser

Delegate that is used by the SyndicationFeedFormatter class for converting XmlDateTimeData string data to DateTimeOffset.

Feed

Gets the SyndicationFeed associated with the formatter.

UriParser

Delegate that is used by the SyndicationFeedFormatter class for creating Uri instances from string input.

Version

Gets the syndication version of the formatter.

Methods

CanRead(XmlReader)

Verifies whether the specified XmlReader contains a valid syndication feed.

CreateCategory(SyndicationFeed)

Creates a new instance of the SyndicationCategory class using the specified SyndicationFeed instance.

CreateCategory(SyndicationItem)

Creates a new instance of the SyndicationCategory class using the specified SyndicationItem instance.

CreateFeedInstance()

Creates a new instance of the SyndicationFeed class.

CreateItem(SyndicationFeed)

Creates a new instance of the SyndicationItem class using the specified SyndicationFeed instance.

CreateLink(SyndicationFeed)

Creates a new instance of the SyndicationLink class with the specified SyndicationFeed.

CreateLink(SyndicationItem)

Creates a new instance of the SyndicationLink class with the specified SyndicationItem.

CreatePerson(SyndicationFeed)

Creates a new SyndicationPerson instance with the specified SyndicationFeed instance.

CreatePerson(SyndicationItem)

Creates a new SyndicationPerson instance with the specified SyndicationItem instance.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
LoadElementExtensions(XmlReader, SyndicationCategory, Int32)

Loads element extensions into the specified SyndicationCategory using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationFeed, Int32)

Loads element extensions into the specified SyndicationFeed using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationItem, Int32)

Loads element extensions into the specified SyndicationItem using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationLink, Int32)

Loads element extensions into the specified SyndicationLink using the specified XmlReader and maximum extension size.

LoadElementExtensions(XmlReader, SyndicationPerson, Int32)

Loads element extensions into the specified SyndicationPerson using the specified XmlReader and maximum extension size.

MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadFrom(XmlReader)

Reads in a SyndicationFeed from the specified XmlReader.

SetFeed(SyndicationFeed)

Associates a SyndicationFeed instance with the SyndicationFeedFormatter.

ToString()

Gets a string representation of the SyndicationFeedFormatter instance.

TryParseAttribute(String, String, String, SyndicationCategory, String)

Attempts to parse an attribute extension using the specified SyndicationCategory instance.

TryParseAttribute(String, String, String, SyndicationFeed, String)

Attempts to parse an attribute extension using the specified SyndicationFeed instance.

TryParseAttribute(String, String, String, SyndicationItem, String)

Attempts to parse an attribute extension using the specified SyndicationItem instance.

TryParseAttribute(String, String, String, SyndicationLink, String)

Attempts to parse an attribute extension using the specified SyndicationLink instance.

TryParseAttribute(String, String, String, SyndicationPerson, String)

Attempts to parse an attribute extension using the specified SyndicationPerson instance.

TryParseContent(XmlReader, SyndicationItem, String, String, SyndicationContent)

Attempts to parse syndication item content using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationCategory, String)

Attempts to parse an element extension using the specified SyndicationCategory instance.

TryParseElement(XmlReader, SyndicationFeed, String)

Attempts to parse an element extension using the specified SyndicationFeed instance.

TryParseElement(XmlReader, SyndicationItem, String)

Attempts to parse an element extension using the specified SyndicationItem instance.

TryParseElement(XmlReader, SyndicationLink, String)

Attempts to parse an element extension using the specified SyndicationLink instance.

TryParseElement(XmlReader, SyndicationPerson, String)

Attempts to parse an element extension using the specified SyndicationPerson instance.

WriteAttributeExtensions(XmlWriter, SyndicationCategory, String)

Writes the attribute extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationFeed, String)

Writes the attribute extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationItem, String)

Writes the attribute extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationLink, String)

Writes the attribute extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteAttributeExtensions(XmlWriter, SyndicationPerson, String)

Writes the attribute extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationCategory, String)

Writes the element extensions in the SyndicationCategory instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationFeed, String)

Writes the element extensions in the SyndicationFeed instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationItem, String)

Writes the element extensions in the SyndicationItem instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationLink, String)

Writes the element extensions in the SyndicationLink instance to the specified XmlWriter in the specified syndication version.

WriteElementExtensions(XmlWriter, SyndicationPerson, String)

Writes the element extensions in the SyndicationPerson instance to the specified XmlWriter in the specified syndication version.

WriteTo(XmlWriter)

Writes the SyndicationFeed to the specified XmlWriter instance.

Applies to