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

Provides a default implementation of a widget descriptor provider.
Inheritance: IWidgetDescriptorProvider
Exibir arquivo Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
DefaultWidgetDescriptorProvider ( IAssemblyProvider assemblyProvider ) : System

Initialises a new instance of DefaultWidgetDescriptorProvider.

GetWidgets ( ) : IEnumerable

Protected Methods

Method Description
GetCandidateTypes ( ) : IEnumerable

Gets the candidate types.

Private Methods

Method Description
CreateDescriptor ( TypeInfo typeInfo ) : WidgetDescriptor

Creates a descriptor for the given widget type.

Method Details

DefaultWidgetDescriptorProvider() public method

Initialises a new instance of DefaultWidgetDescriptorProvider.
public DefaultWidgetDescriptorProvider ( IAssemblyProvider assemblyProvider ) : System
assemblyProvider IAssemblyProvider The assembly provider.
return System

GetCandidateTypes() protected method

Gets the candidate types.
protected GetCandidateTypes ( ) : IEnumerable
return IEnumerable

GetWidgets() public method

public GetWidgets ( ) : IEnumerable
return IEnumerable