MvcRazorMvcBuilderExtensions MvcRazorMvcBuilderExtensions MvcRazorMvcBuilderExtensions Class

Definition

Extensions methods for configuring MVC via an IMvcBuilder.

public static class MvcRazorMvcBuilderExtensions
type MvcRazorMvcBuilderExtensions = class
Public Module MvcRazorMvcBuilderExtensions
Inheritance
MvcRazorMvcBuilderExtensionsMvcRazorMvcBuilderExtensionsMvcRazorMvcBuilderExtensions

Methods

AddRazorOptions(IMvcBuilder, Action<RazorViewEngineOptions>) AddRazorOptions(IMvcBuilder, Action<RazorViewEngineOptions>) AddRazorOptions(IMvcBuilder, Action<RazorViewEngineOptions>)

Configures a set of RazorViewEngineOptions for the application.

AddTagHelpersAsServices(IMvcBuilder) AddTagHelpersAsServices(IMvcBuilder) AddTagHelpersAsServices(IMvcBuilder)

Registers tag helpers as services and replaces the existing ITagHelperActivator with an ServiceBasedTagHelperActivator.

InitializeTagHelper<TTagHelper>(IMvcBuilder, Action<TTagHelper,ViewContext>) InitializeTagHelper<TTagHelper>(IMvcBuilder, Action<TTagHelper,ViewContext>) InitializeTagHelper<TTagHelper>(IMvcBuilder, Action<TTagHelper,ViewContext>)

Adds an initialization callback for a given TTagHelper.

Applies to