C# Class Glass.Mapper.Sc.Razor.ViewManager

ViewManager
显示文件 Open project: mikeedwards83/Glass.Mapper

Public Methods

Method Description
GetFullPath ( string viewPath ) : string

Gets the full path.

GetRazorView ( string viewPath ) : CachedView

Gets the razor view.

Private Methods

Method Description
OnChanged ( object source, FileSystemEventArgs e ) : void

Called when [changed].

UpdateCache ( string viewPath, string>.Func viewLoader ) : void

Updates the cache.

ViewManager ( ) : System

Initializes the ViewManager class.

Method Details

GetFullPath() public static method

Gets the full path.
public static GetFullPath ( string viewPath ) : string
viewPath string The view path.
return string

GetRazorView() public static method

Gets the razor view.
public static GetRazorView ( string viewPath ) : CachedView
viewPath string The view path.
return CachedView