語言

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
實作

備註

這個類別目前是空的。

建構函式

名稱 Description
MvcXmlOptions()

建立 MvcXmlOptions 的新執行個體。

屬性

名稱 Description
AllowRfc7807CompliantProblemDetailsFormat

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

方法

名稱 Description
GetEnumerator()

提供 XML 格式子的組態。

明確介面實作

名稱 Description
IEnumerable.GetEnumerator()

提供 XML 格式子的組態。

IEnumerable<ICompatibilitySwitch>.GetEnumerator()

提供 XML 格式子的組態。

適用於