Class MvcBuilderExtensions
Provides extension method for Microsoft.Extensions.DependencyInjection.IMvcBuilder instances to add model providers.
Namespace: XploRe.AspNetCore.Mvc
Assembly: XploRe.AspNetCore.Mvc.dll
Syntax
public static class MvcBuilderExtensions : Object
Methods
Name | Description |
---|---|
AddModelBinderProvider<T>(IMvcBuilder) |
Registers a new model binder provider of type T at the beginning of the MVC
model binder providers list.
|
AddTrimStringModelBinderProvider(IMvcBuilder) | Adds a new TrimStringModelBinderProvider instance to the beginning of the MVC model binder providers list. |