View Source
Class MvcBuilderExtensions
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public static class MvcBuilderExtensions
Methods
View Source
AddJsonOptions(IMvcBuilder, String, Action<JsonOptions>)
Declaration
public static IMvcBuilder AddJsonOptions(this IMvcBuilder builder, string settingsName, Action<JsonOptions> configure)
Parameters
Type |
Name |
Description |
Microsoft.Extensions.DependencyInjection.IMvcBuilder |
builder |
|
System.String |
settingsName |
|
Action<Microsoft.AspNetCore.Mvc.JsonOptions> |
configure |
|
Returns
Type |
Description |
Microsoft.Extensions.DependencyInjection.IMvcBuilder |
|