C# Class Sage.Views.ViewInfo

Provides information about view template and configuration file corresponding to a controller and an action.
ファイルを表示 Open project: igorfrance/sage Class Usage Examples

Public Methods

Method Description
ToString ( ) : string
ViewInfo ( SageController controller, string action, string controllerName = null ) : System

Initializes a new instance of the ViewInfo class, using the specified controller and action.

Method Details

ToString() public method

public ToString ( ) : string
return string

ViewInfo() public method

Initializes a new instance of the ViewInfo class, using the specified controller and action.
public ViewInfo ( SageController controller, string action, string controllerName = null ) : System
controller Sage.Controllers.SageController The controller for which to create this instance.
action string The controller action for which to create this instance.
controllerName string Optional name of the controller to use for resolving configuration and template paths.
return System