MvcXmlOptions Class

Definition

Provides configuration for XML formatters.

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)
Inheritance
MvcXmlOptions
Implements

Remarks

This class is currently empty.

Constructors

MvcXmlOptions()

Creates a new instance of MvcXmlOptions.

Properties

AllowRfc7807CompliantProblemDetailsFormat

Gets or sets a value inidicating whether ProblemDetails and ValidationProblemDetails are serialized in a format compliant with the RFC 7807 specification (https://tools.ietf.org/html/rfc7807).

Methods

GetEnumerator()

Explicit Interface Implementations

IEnumerable.GetEnumerator()
IEnumerable<ICompatibilitySwitch>.GetEnumerator()

Applies to