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

Provides a default implementation of a widget activator.
Inheritance: IWidgetActivator
ファイルを表示 Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
Activate ( object widget, WidgetContext context ) : void
DefaultWidgetActivator ( ) : System

Initialises a new instance of DefaultWidgetActivator

Private Methods

Method Description
CreateActivateInfo ( PropertyInfo property ) : PropertyActivator

Creates a new property activator.

Method Details

Activate() public method

public Activate ( object widget, WidgetContext context ) : void
widget object
context WidgetContext
return void

DefaultWidgetActivator() public method

Initialises a new instance of DefaultWidgetActivator
public DefaultWidgetActivator ( ) : System
return System