AtomPub10CategoriesDocumentFormatter Constructors

Definition

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class.

Overloads

AtomPub10CategoriesDocumentFormatter()

Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class.

C#
public AtomPub10CategoriesDocumentFormatter();

Applies to

.NET 10 (package-provided) an aner Versiounen
Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

AtomPub10CategoriesDocumentFormatter(CategoriesDocument)

Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument.

C#
public AtomPub10CategoriesDocumentFormatter(System.ServiceModel.Syndication.CategoriesDocument documentToWrite);

Parameters

documentToWrite
CategoriesDocument

The CategoriesDocument to serialize.

Applies to

.NET 10 (package-provided) an aner Versiounen
Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)

AtomPub10CategoriesDocumentFormatter(Type, Type)

Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs
Source:
AtomPub10CategoriesDocumentFormatter.cs

Creates a new instance of the AtomPub10CategoriesDocumentFormatter class with the specified CategoriesDocument.

C#
public AtomPub10CategoriesDocumentFormatter(Type inlineDocumentType, Type referencedDocumentType);

Parameters

inlineDocumentType
Type

An InlineCategoriesDocument that can be serialized into an <atom:categories> element within a service document and the set of categories are specified within the element.

referencedDocumentType
Type

An ReferencedCategoriesDocument that can be serialized into an <atom:categories> element within a service document and the set of categories are referenced using an URI.

Applies to

.NET 10 (package-provided) an aner Versiounen
Produkt Versiounen
.NET 8 (package-provided), 9 (package-provided), 10 (package-provided)
.NET Framework 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
.NET Standard 2.0 (package-provided)