DefaultViewComponentActivator Sınıf
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.
Varsayılan uygulamasıdır IViewComponentActivator.
public ref class DefaultViewComponentActivator : Microsoft::AspNetCore::Mvc::ViewComponents::IViewComponentActivator
public class DefaultViewComponentActivator : Microsoft.AspNetCore.Mvc.ViewComponents.IViewComponentActivator
type DefaultViewComponentActivator = class
interface IViewComponentActivator
Public Class DefaultViewComponentActivator
Implements IViewComponentActivator
- Devralma
-
DefaultViewComponentActivator
- Uygulamalar
Açıklamalar
, DefaultViewComponentActivator ile ViewComponentContextAttributeişaretlenmiş bir görünüm bileşeninin genel özelliğine geçerli örneğini ViewComponentContext sağlayabilir.
Oluşturucular
DefaultViewComponentActivator(ITypeActivatorCache) |
Yeni bir DefaultViewComponentActivator sınıfı örneğini başlatır. |
Yöntemler
Create(ViewComponentContext) |
ViewComponent örneği oluşturur. |
Release(ViewComponentContext, Object) |
ViewComponent örneğini serbest bırakır. |