Click or drag to resize
HandlebarsViewEngineFileExists Method
Checks for file existence.

Namespace: HandlebarsDotNet.Mvc
Assembly: HandlebarsDotNet.Mvc (in HandlebarsDotNet.Mvc.dll) Version: 1.0.0-beta
Syntax
protected virtual bool FileExists(
	ControllerContext controllerContext,
	string virtualPath
)

Parameters

controllerContext
Type: ControllerContext
The controller context.
virtualPath
Type: SystemString
The path to check the existence for.

Return Value

Type: Boolean
if the file exists, if it doesn't.
See Also