PageContext PageContext PageContext Constructors

Definition

Overloads

PageContext() PageContext()

Creates an empty PageContext.

PageContext(ActionContext) PageContext(ActionContext)

Initializes a new instance of PageContext.

PageContext() PageContext()

Creates an empty PageContext.

public PageContext ();
Public Sub New ()

Remarks

The default constructor is provided for unit test purposes only.

PageContext(ActionContext) PageContext(ActionContext)

Initializes a new instance of PageContext.

public PageContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext);
new Microsoft.AspNetCore.Mvc.RazorPages.PageContext : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.RazorPages.PageContext

Parameters

Applies to