PageContext Oluşturucular
Tanım
Önemli
Bazı bilgiler ürünün ön sürümüyle ilgilidir ve sürüm öncesinde önemli değişiklikler yapılmış olabilir. Burada verilen bilgilerle ilgili olarak Microsoft açık veya zımni hiçbir garanti vermez.
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