Show / Hide Table of Contents

    Class XmlSerializationMvcOptionsSetup

    A Microsoft.Extensions.Options.ConfigureOptions<TOptions> implementation which will add the XML serializer formatters to Microsoft.AspNetCore.Mvc.MvcOptions.

    Inheritance
    System.Object
    Microsoft.Extensions.Options.ConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>
    XmlSerializationMvcOptionsSetup
    Implements
    Microsoft.Extensions.Options.IConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>
    Inherited Members
    Microsoft.Extensions.Options.ConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>.Configure(Microsoft.AspNetCore.Mvc.MvcOptions)
    Microsoft.Extensions.Options.ConfigureOptions<Microsoft.AspNetCore.Mvc.MvcOptions>.Action
    Namespace: Cuemon.AspNetCore.Mvc.Formatters.Xml
    Assembly: Cuemon.AspNetCore.Mvc.Formatters.Xml.dll
    Syntax
    public class XmlSerializationMvcOptionsSetup : ConfigureOptions<MvcOptions>, IConfigureOptions<MvcOptions>

    Constructors

    | Improve this Doc

    XmlSerializationMvcOptionsSetup(IOptions<XmlFormatterOptions>)

    Creates a new XmlSerializationMvcOptionsSetup.

    Declaration
    public XmlSerializationMvcOptionsSetup(IOptions<XmlFormatterOptions> formatterOptions)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<XmlFormatterOptions> formatterOptions

    Implements

    Microsoft.Extensions.Options.IConfigureOptions<TOptions>

    Extension Methods

    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Action<TimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Byte[], Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, Byte[]>, Action<ContentBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Byte[], Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, DateTime, Func<T, Byte[]>, Action<ContentTimeBasedOptions>)
    CacheableObjectResultExtensions.ToCacheableObjectResult<T>(T, Func<T, DateTime>, Byte[], Action<ContentTimeBasedOptions>)
    • Improve this Doc
    • View Source
    Back to top Copyright 2008-2018 Weubphoria. All rights reserved.
    Generated by DocFX