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

Provides services for matching widget methods for execution.
Показать файл Открыть проект

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

Метод Описание
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