Search Results for

    Show / Hide Table of Contents
    View Source

    Class UmbracoMvcConfigureOptions

    Options for globally configuring MVC for Umbraco

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Web.Common.Mvc
    Assembly: Umbraco.Web.Common.dll
    Syntax
    public class UmbracoMvcConfigureOptions : IConfigureOptions<MvcOptions>
    Remarks

    We generally don't want to change the global MVC settings since we want to be unobtrusive as possible but some global mods are needed - so long as they don't interfere with normal user usages of MVC.

    Constructors

    View Source

    UmbracoMvcConfigureOptions(IOptions<GlobalSettings>)

    Declaration
    public UmbracoMvcConfigureOptions(IOptions<GlobalSettings> globalSettings)
    Parameters
    Type Name Description
    Microsoft.Extensions.Options.IOptions<GlobalSettings> globalSettings

    Methods

    View Source

    Configure(MvcOptions)

    Declaration
    public void Configure(MvcOptions options)
    Parameters
    Type Name Description
    Microsoft.AspNetCore.Mvc.MvcOptions options
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • UmbracoMvcConfigureOptions(IOptions<GlobalSettings>)
    • Methods
      • Configure(MvcOptions)
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX