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

Provides a default implementation of a widget selector.
Inheritance: IWidgetSelector
Datei anzeigen Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
DefaultWidgetSelector ( IWidgetDescriptorCollectionProvider descriptorProvider ) : System

Initialises a new instance of DefaultWidgetSelector.

SelectWidget ( string widgetName ) : WidgetDescriptor

Method Details

DefaultWidgetSelector() public method

Initialises a new instance of DefaultWidgetSelector.
public DefaultWidgetSelector ( IWidgetDescriptorCollectionProvider descriptorProvider ) : System
descriptorProvider IWidgetDescriptorCollectionProvider The descriptor provider.
return System

SelectWidget() public method

public SelectWidget ( string widgetName ) : WidgetDescriptor
widgetName string
return WidgetDescriptor