ViewComponentConventions 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.
Standart görünüm bileşen kuralı yöntemleri ekleyen statik sınıf. Bu sınıf devralınamaz.
public ref class ViewComponentConventions abstract sealed
public static class ViewComponentConventions
type ViewComponentConventions = class
Public Class ViewComponentConventions
- Devralma
-
ViewComponentConventions
Alanlar
ViewComponentSuffix |
Görünüm bileşeni adının son eki. |
Yöntemler
GetComponentFullName(TypeInfo) |
Bileşenin tam adını ilkinden bir türe alın Name . Tanımlanmamışsa, tam ad ile Microsoft.AspNetCore.Mvc.ViewComponents.ViewComponentConventions.GetShortNameByConvention(System.Reflection.TypeInfo)Ad Alanı olur. |
GetComponentName(TypeInfo) |
Bir bileşenin adını alır. |
IsComponent(TypeInfo) |
Tür genel, soyut olmayan, öğesini tanımlayan genel olmayan bir sınıfsa, ancak öğesini tanımlayıp ViewComponentAttributeviewcomponent ile biten bir ada sahip değilse NonViewComponentAttribute döndürür |