C# 클래스 Antaris.AspNetCore.Mvc.Widgets.Internal.WidgetConventions

Provides convention-based methods supporting Widget discovery.
파일 보기 프로젝트 열기: Antaris/AspNetCore.Mvc.Widgets

공개 메소드들

메소드 설명
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