AtomPub10ServiceDocumentFormatter<TServiceDocument> Klasa

Definicja

Program formatujący, który serializuje klasy pochodzące z ServiceDocument wystąpienia do i z formatu XML przy użyciu formatów Atom 1.0.

generic <typename TServiceDocument>
 where TServiceDocument : ServiceDocumentgcnew()public ref class AtomPub10ServiceDocumentFormatter : System::ServiceModel::Syndication::AtomPub10ServiceDocumentFormatter
public class AtomPub10ServiceDocumentFormatter<TServiceDocument> : System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter where TServiceDocument : ServiceDocument, new()
type AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))> = class
    inherit AtomPub10ServiceDocumentFormatter
Public Class AtomPub10ServiceDocumentFormatter(Of TServiceDocument)
Inherits AtomPub10ServiceDocumentFormatter

Parametry typu

TServiceDocument

Klasa pochodząca z ServiceDocument wystąpienia, które ma być serializowane na XML lub deserializowany z xml przy użyciu formatowania Atom 1.0.

Dziedziczenie
AtomPub10ServiceDocumentFormatter<TServiceDocument>

Uwagi

Jeśli chcesz serializować lub deserializować ServiceDocument wystąpienie zamiast obiektu pochodnego z tego wystąpienia ServiceDocumentklasy , należy zamiast tego użyć AtomPub10ServiceDocumentFormatter formatującego.

Konstruktory

AtomPub10ServiceDocumentFormatter<TServiceDocument>()

Tworzy nowe wystąpienie klasy ServiceDocumentFormatter.

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Tworzy nowe wystąpienie klasy opartej ServiceDocumentFormatter na atomie 1.0.

Właściwości

Document

Pobiera element ServiceDocument skojarzony z formaterem.

(Odziedziczone po ServiceDocumentFormatter)
Version

Pobiera nazwę przestrzeni nazw protokołu Atom Publishing Protocol.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)

Metody

CanRead(XmlReader)

Sprawdza, czy określony czytnik XML zawiera prawidłowy dokument usługi.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)
CreateDocumentInstance()

Tworzy nowe ServiceDocument wystąpienie skojarzone z formaterem Atom 1.0.

Equals(Object)

Określa, czy dany obiekt jest taki sam, jak bieżący obiekt.

(Odziedziczone po Object)
GetHashCode()

Służy jako domyślna funkcja skrótu.

(Odziedziczone po Object)
GetType()

Type Pobiera wartość bieżącego wystąpienia.

(Odziedziczone po Object)
MemberwiseClone()

Tworzy płytkią kopię bieżącego Objectelementu .

(Odziedziczone po Object)
ReadFrom(XmlReader)

ServiceDocument Generuje obiekt na podstawie określonego czytnika XML.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)
SetDocument(ServiceDocument)

Ustawia parametr ServiceDocument do zapisu.

(Odziedziczone po ServiceDocumentFormatter)
ToString()

Zwraca ciąg reprezentujący bieżący obiekt.

(Odziedziczone po Object)
WriteTo(XmlWriter)

ServiceDocument Zapisuje obiekt skojarzony z obiektem formatujący do określonego modułu zapisywania XML.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)

Jawne implementacje interfejsu

IXmlSerializable.GetSchema()

Ta metoda jest zarezerwowana i nie należy jej używać.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)
IXmlSerializable.ReadXml(XmlReader)

Generuje element ServiceDocument na podstawie reprezentacji XML.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)
IXmlSerializable.WriteXml(XmlWriter)

Konwertuje element na ServiceDocument reprezentację XML.

(Odziedziczone po AtomPub10ServiceDocumentFormatter)

Dotyczy