C# Class Antaris.AspNetCore.Mvc.Widgets.Internal.WidgetMethodSelector

Provides services for matching widget methods for execution.
Afficher le fichier Open project: Antaris/AspNetCore.Mvc.Widgets

Méthodes publiques

Méthode Description
FindAsyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo

Finds an asynchronous method to execute.

FindSyncMethod ( WidgetContext context, TypeInfo widgetType ) : MethodInfo

Finds a synchronous method to execute.

Private Methods

Méthode Description
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.

Method Details

FindAsyncMethod() public static méthode

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.
Résultat System.Reflection.MethodInfo

FindSyncMethod() public static méthode

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.
Résultat System.Reflection.MethodInfo