Aracılığıyla paylaş


PageContext Oluşturucular

Tanım

Aşırı Yüklemeler

PageContext()

Boş PageContextbir oluşturur.

PageContext(ActionContext)

öğesinin yeni bir örneğini PageContextbaşlatır.

PageContext()

Kaynak:
PageContext.cs
Kaynak:
PageContext.cs
Kaynak:
PageContext.cs

Boş PageContextbir oluşturur.

public:
 PageContext();
public PageContext ();
Public Sub New ()

Açıklamalar

Varsayılan oluşturucu yalnızca birim testi amacıyla sağlanır.

Şunlara uygulanır

PageContext(ActionContext)

Kaynak:
PageContext.cs
Kaynak:
PageContext.cs
Kaynak:
PageContext.cs

öğesinin yeni bir örneğini PageContextbaşlatır.

public:
 PageContext(Microsoft::AspNetCore::Mvc::ActionContext ^ actionContext);
public PageContext (Microsoft.AspNetCore.Mvc.ActionContext actionContext);
new Microsoft.AspNetCore.Mvc.RazorPages.PageContext : Microsoft.AspNetCore.Mvc.ActionContext -> Microsoft.AspNetCore.Mvc.RazorPages.PageContext
Public Sub New (actionContext As ActionContext)

Parametreler

actionContext
ActionContext

ActionContext.

Şunlara uygulanır