Sdílet prostřednictvím


AtomPub10ServiceDocumentFormatter<TServiceDocument> Konstruktory

Definice

Vytvoří novou instanci Atom 1.0-založené ServiceDocumentFormatter třídy.

Přetížení

AtomPub10ServiceDocumentFormatter<TServiceDocument>()

Vytvoří novou instanci třídy ServiceDocumentFormatter.

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Vytvoří novou instanci Atom 1.0-založené ServiceDocumentFormatter třídy.

AtomPub10ServiceDocumentFormatter<TServiceDocument>()

Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs

Vytvoří novou instanci třídy ServiceDocumentFormatter.

public:
 AtomPub10ServiceDocumentFormatter();
public AtomPub10ServiceDocumentFormatter ();
Public Sub New ()

Platí pro

AtomPub10ServiceDocumentFormatter<TServiceDocument>(TServiceDocument)

Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs
Zdroj:
AtomPub10ServiceDocumentFormatter.cs

Vytvoří novou instanci Atom 1.0-založené ServiceDocumentFormatter třídy.

public:
 AtomPub10ServiceDocumentFormatter(TServiceDocument documentToWrite);
public AtomPub10ServiceDocumentFormatter (TServiceDocument documentToWrite);
new System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))> : 'ServiceDocument -> System.ServiceModel.Syndication.AtomPub10ServiceDocumentFormatter<'ServiceDocument (requires 'ServiceDocument :> System.ServiceModel.Syndication.ServiceDocument and 'ServiceDocument : (new : unit -> 'ServiceDocument))>
Public Sub New (documentToWrite As TServiceDocument)

Parametry

documentToWrite
TServiceDocument

Přidružený ServiceDocument k formátovacímu modulu Atom 1.0.

Výjimky

documentToWrite je null.

Poznámky

Lze documentToWrite serializovat na reprezentaci XML nebo deserializovat ze reprezentace XML formátovacím programem pomocí formátů Atom 1.0.

Platí pro