C# Class Antaris.AspNetCore.Mvc.Widgets.ViewWidgetResult

Renders a widget view.
Inheritance: IWidgetResult
Datei anzeigen Open project: Antaris/AspNetCore.Mvc.Widgets

Public Methods

Method Description
Execute ( WidgetContext context ) : void
ExecuteAsync ( WidgetContext context ) : System.Threading.Tasks.Task

Private Methods

Method Description
FindView ( Microsoft.AspNet.Mvc.ActionContext context, IViewEngine viewEngine, string viewName ) : IView

Finds a view for the given name.

ResolveViewEngine ( WidgetContext context ) : IViewEngine

Resolves the view engine.

Method Details

Execute() public method

public Execute ( WidgetContext context ) : void
context Antaris.AspNetCore.Mvc.Widgets.Infrastructure.WidgetContext
return void

ExecuteAsync() public method

public ExecuteAsync ( WidgetContext context ) : System.Threading.Tasks.Task
context Antaris.AspNetCore.Mvc.Widgets.Infrastructure.WidgetContext
return System.Threading.Tasks.Task