Share via


MvcXmlOptions 類別

定義

提供 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)
繼承
MvcXmlOptions
實作

備註

這個類別目前是空的。

建構函式

MvcXmlOptions()

建立 MvcXmlOptions 的新執行個體。

屬性

AllowRfc7807CompliantProblemDetailsFormat

取得或設定值,以 ProblemDetails 符合 RFC 7807 規格 (https://tools.ietf.org/html/rfc7807) 格式序列化 和 ValidationProblemDetails

方法

GetEnumerator()

提供 XML 格式子的組態。

明確介面實作

IEnumerable.GetEnumerator()

提供 XML 格式子的組態。

IEnumerable<ICompatibilitySwitch>.GetEnumerator()

提供 XML 格式子的組態。

適用於