Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Controllers.ControllerImpl.View Method

Invokes a view from a module controller.

Class: YetaWF.Core.Controllers.ControllerImpl
Namespace: YetaWF.Core.Controllers
Assembly: YetaWF.Core

Syntax

protected YetaWFViewResult View();
public new ViewResult View();
public new ViewResult View( object? model );
public new ViewResult View( string? viewName );
protected YetaWFViewResult View( object? model );
public new ViewResult View(
    string? viewName,
    object? model );
protected YetaWFViewResult View(
    string viewName,
    bool UseAreaViewName = true );
protected YetaWFViewResult View(
    string viewName,
    object? model,
    bool UseAreaViewName = true );

Parameters

model

The model.

viewName

The name of the view.

UseAreaViewName

true if the view name is the name of a standard view, otherwise the area specific view by that name is used.

Return Value

An action result.

See Also YetaWF.Core.Controllers.ControllerImpl ClassYetaWF.Core Overview