C# Class ALE.Views.Razor.RazorView

Inheritance: IViewProcessor
Show file Open project: blesh/ALE

Protected Properties

Property Type Description
ViewsDirectoryPath string
ViewsRoot string

Public Methods

Method Description
Processor ( string path ) : RazorView
Render ( string view, object model, string>.Action callback ) : void

Protected Methods

Method Description
LoadView ( string view, string>.Action callback ) : void

Private Methods

Method Description
RazorView ( string viewsDirPath ) : System

Method Details

LoadView() protected method

protected LoadView ( string view, string>.Action callback ) : void
view string
callback string>.Action
return void

Processor() public static method

public static Processor ( string path ) : RazorView
path string
return RazorView

Render() public method

public Render ( string view, object model, string>.Action callback ) : void
view string
model object
callback string>.Action
return void

Property Details

ViewsDirectoryPath protected property

protected string ViewsDirectoryPath
return string

ViewsRoot protected property

protected string ViewsRoot
return string