C# Class Antaris.AspNetCore.Mvc.Widgets.Infrastructure.DefaultWidgetArgumentBinder

Provides a default implementation of a widget argument binder.
Inheritance: IWidgetArgumentBinder
Exibir arquivo Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
BindArgumentsAsync ( WidgetContext context, MethodInfo method, object>.IDictionary values ) : object>>.Task
DefaultWidgetArgumentBinder ( IOptions options, IModelMetadataProvider modelMetadataProvider, IObjectModelValidator objectModelValidator ) : System

Initialises a new instance of DefaultWidgetArgumentBinder.

Method Details

BindArgumentsAsync() public method

public BindArgumentsAsync ( WidgetContext context, MethodInfo method, object>.IDictionary values ) : object>>.Task
context WidgetContext
method System.Reflection.MethodInfo
values object>.IDictionary
return object>>.Task

DefaultWidgetArgumentBinder() public method

Initialises a new instance of DefaultWidgetArgumentBinder.
public DefaultWidgetArgumentBinder ( IOptions options, IModelMetadataProvider modelMetadataProvider, IObjectModelValidator objectModelValidator ) : System
options IOptions The options accessor for
modelMetadataProvider IModelMetadataProvider The model metadata provider.
objectModelValidator IObjectModelValidator The object model validator.
return System