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

Provides services for matching widget methods for execution.
파일 보기 프로젝트 열기: Antaris/AspNetCore.Mvc.Widgets

공개 메소드들

메소드 설명
FindAsyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo

Finds an asynchronous method to execute.

FindSyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo

Finds a synchronous method to execute.

비공개 메소드들

메소드 설명
GetMethod ( string name, TypeInfo widgetType ) : MethodInfo

Gets the method for the given name.

ResolveHttpMethod ( WidgetContext context ) : string

Resolves the HTTP method used to discover which action to execute.

메소드 상세

FindAsyncMethod() 공개 정적인 메소드

Finds an asynchronous method to execute.
public static FindAsyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo
context Antaris.AspNetCore.Mvc.Widgets.Infrastructure.WidgetContext The widget context.
widgetType System.Reflection.TypeInfo The widget type.
리턴 System.Reflection.MethodInfo

FindSyncMethod() 공개 정적인 메소드

Finds a synchronous method to execute.
public static FindSyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo
context Antaris.AspNetCore.Mvc.Widgets.Infrastructure.WidgetContext The widget context.
widgetType System.Reflection.TypeInfo The widget type.
리턴 System.Reflection.MethodInfo