C# Class SugarTown.SugarTownViewResolver

Inheritance: IViewResolver
Datei anzeigen Open project: jchannon/SugarTown Class Usage Examples

Public Methods

Method Description
GetViewLocation ( string viewName, dynamic model, Nancy.ViewEngines.ViewLocationContext viewLocationContext ) : Nancy.ViewEngines.ViewLocationResult

Locates a view based on the provided information.

SugarTownViewResolver ( IViewResolver defaultResolver ) : System

Method Details

GetViewLocation() public method

Locates a view based on the provided information.
public GetViewLocation ( string viewName, dynamic model, Nancy.ViewEngines.ViewLocationContext viewLocationContext ) : Nancy.ViewEngines.ViewLocationResult
viewName string The name of the view to locate.
model dynamic The model that will be used with the view.
viewLocationContext Nancy.ViewEngines.ViewLocationContext A instance, containing information about the context for which the view is being located.
return Nancy.ViewEngines.ViewLocationResult

SugarTownViewResolver() public method

public SugarTownViewResolver ( IViewResolver defaultResolver ) : System
defaultResolver IViewResolver
return System