C# Класс Antaris.AspNetCore.Mvc.Widgets.Internal.WidgetConventions

Provides convention-based methods supporting Widget discovery.
Показать файл Открыть проект

Открытые методы

Метод Описание
GetShortNameByConvention ( TypeInfo widgetType ) : string

Gets the short name for a widget.

GetWidgetFullName ( TypeInfo widgetType ) : string

Gets the widget full name for the given widget type.

GetWidgetName ( TypeInfo widgetType ) : string

Gets the widget name for the given widget type.

IsWidget ( TypeInfo typeInfo ) : bool

Determines if the given type represents a widget.

Описание методов

GetShortNameByConvention() публичный статический Метод

Gets the short name for a widget.
public static GetShortNameByConvention ( TypeInfo widgetType ) : string
widgetType System.Reflection.TypeInfo The widget type.
Результат string

GetWidgetFullName() публичный статический Метод

Gets the widget full name for the given widget type.
public static GetWidgetFullName ( TypeInfo widgetType ) : string
widgetType System.Reflection.TypeInfo The widget type.
Результат string

GetWidgetName() публичный статический Метод

Gets the widget name for the given widget type.
public static GetWidgetName ( TypeInfo widgetType ) : string
widgetType System.Reflection.TypeInfo The widget type.
Результат string

IsWidget() публичный статический Метод

Determines if the given type represents a widget.
public static IsWidget ( TypeInfo typeInfo ) : bool
typeInfo System.Reflection.TypeInfo The candidate type.
Результат bool