Share via


RazorPageActivator Class

Definition

Provides methods to activate properties on a IRazorPage instance.

public ref class RazorPageActivator : Microsoft::AspNetCore::Mvc::Razor::IRazorPageActivator
public class RazorPageActivator : Microsoft.AspNetCore.Mvc.Razor.IRazorPageActivator
type RazorPageActivator = class
    interface IRazorPageActivator
Public Class RazorPageActivator
Implements IRazorPageActivator
Inheritance
RazorPageActivator
Implements

Constructors

RazorPageActivator(IModelMetadataProvider, IUrlHelperFactory, IJsonHelper, DiagnosticSource, HtmlEncoder, IModelExpressionProvider)

Initializes a new instance of the RazorPageActivator class.

Methods

Activate(IRazorPage, ViewContext)

When implemented in a type, activates an instantiated page.

Applies to