Aracılığıyla paylaş


ViewComponentContext Sınıf

Tanım

Bileşenleri görüntüleme bağlamı.

public ref class ViewComponentContext
public class ViewComponentContext
type ViewComponentContext = class
Public Class ViewComponentContext
Devralma
ViewComponentContext

Oluşturucular

ViewComponentContext()

Yeni bir ViewComponentContext oluşturur.

ViewComponentContext(ViewComponentDescriptor, IDictionary<String,Object>, HtmlEncoder, ViewContext, TextWriter)

Yeni bir ViewComponentContext oluşturur.

Özellikler

Arguments

Görünüm bileşeni bağımsız değişkenlerini alır veya ayarlar.

HtmlEncoder

öğesini alır veya ayarlar HtmlEncoder.

TempData

ITempDataDictionary öğesini alır.

ViewComponentDescriptor

Çağrılan görünüm bileşeni için öğesini ViewComponentDescriptor alır veya ayarlar.

ViewContext

öğesini alır veya ayarlar ViewContext.

ViewData

ViewDataDictionary öğesini alır.

Writer

için çıkışını TextWriter alır.

Şunlara uygulanır