C# Class TerrificNet.Controllers.TemplateControllerBase

Inheritance: ApiController, IDependencyResolverAware
Mostra file Open project: namics/TerrificNet

Private Properties

Property Type Description
GetRange TerrificNet.Models.ErrorHandling.ErrorRange
WriteToStream System.Threading.Tasks.Task

Protected Methods

Method Description
GetErrorPage ( StreamWriter writer, Exception error, SourceLocation location ) : System.Threading.Tasks.Task
TemplateControllerBase ( ) : System
View ( IViewEngine viewEngine, IPageViewDefinition siteDefinition ) : HttpResponseMessage
View ( PageViewDefinition viewDefinition ) : Task

Private Methods

Method Description
GetRange ( string sourceTemplateSource, SourceLocation location ) : ErrorRange
WriteToStream ( Stream outputStream, IViewEngine viewEngine, IPageViewDefinition viewDefinition ) : System.Threading.Tasks.Task

Method Details

GetErrorPage() protected method

protected GetErrorPage ( StreamWriter writer, Exception error, SourceLocation location ) : System.Threading.Tasks.Task
writer System.IO.StreamWriter
error System.Exception
location Veil.Parser.SourceLocation
return System.Threading.Tasks.Task

TemplateControllerBase() protected method

protected TemplateControllerBase ( ) : System
return System

View() protected method

protected View ( IViewEngine viewEngine, IPageViewDefinition siteDefinition ) : HttpResponseMessage
viewEngine IViewEngine
siteDefinition IPageViewDefinition
return System.Net.Http.HttpResponseMessage

View() protected method

protected View ( PageViewDefinition viewDefinition ) : Task
viewDefinition PageViewDefinition
return Task