VBCodeParser.MapDirective Method

Maps a given directive.

Namespace:  System.Web.Razor.Parser
Assembly:  System.Web.Razor (in System.Web.Razor.dll)

protected void MapDirective(
	string directive,
	Func<bool> action
)

Parameters

directive
Type: System.String
The directive.
action
Type: System.Func<Boolean>
The action whether to map a given directive.
Show: