Bagikan melalui


MvcXmlOptions Kelas

Definisi

Menyediakan konfigurasi untuk pemformat XML.

public ref class MvcXmlOptions : System::Collections::Generic::IEnumerable<Microsoft::AspNetCore::Mvc::Infrastructure::ICompatibilitySwitch ^>
public class MvcXmlOptions : System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Mvc.Infrastructure.ICompatibilitySwitch>
type MvcXmlOptions = class
    interface seq<ICompatibilitySwitch>
    interface IEnumerable
Public Class MvcXmlOptions
Implements IEnumerable(Of ICompatibilitySwitch)
Warisan
MvcXmlOptions
Penerapan

Keterangan

Kelas ini saat ini kosong.

Konstruktor

MvcXmlOptions()

Membuat instans baru .MvcXmlOptions

Properti

AllowRfc7807CompliantProblemDetailsFormat

Mendapatkan atau menetapkan nilai yang menunjukkan apakah ProblemDetails dan ValidationProblemDetails diserialisasikan dalam format yang sesuai dengan spesifikasi RFC 7807 (https://tools.ietf.org/html/rfc7807).

Metode

GetEnumerator()

Menyediakan konfigurasi untuk pemformat XML.

Implementasi Antarmuka Eksplisit

IEnumerable.GetEnumerator()

Menyediakan konfigurasi untuk pemformat XML.

IEnumerable<ICompatibilitySwitch>.GetEnumerator()

Menyediakan konfigurasi untuk pemformat XML.

Berlaku untuk