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

Provides a default implementation of a widget invoker factory.
Inheritance: IWidgetInvokerFactory
Exibir arquivo Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
CreateInstance ( WidgetContext context ) : IWidgetInvoker
DefaultWidgetInvokerFactory ( ITypeActivatorCache typeActivatorCache, IWidgetActivator widgetActivator, IWidgetArgumentBinder argumentBinder ) : System

Initialises a new instance of DefaultWidgetInvokerFactory.

Method Details

CreateInstance() public method

public CreateInstance ( WidgetContext context ) : IWidgetInvoker
context WidgetContext
return IWidgetInvoker

DefaultWidgetInvokerFactory() public method

Initialises a new instance of DefaultWidgetInvokerFactory.
public DefaultWidgetInvokerFactory ( ITypeActivatorCache typeActivatorCache, IWidgetActivator widgetActivator, IWidgetArgumentBinder argumentBinder ) : System
typeActivatorCache ITypeActivatorCache The type activator cache.
widgetActivator IWidgetActivator The widget activator.
argumentBinder IWidgetArgumentBinder The widget argument binder.
return System