VBCodeParser.MapKeyword Method
Maps a given keyword.
Namespace: System.Web.Razor.Parser
Assembly: System.Web.Razor (in System.Web.Razor.dll)
Syntax
'Declaration
Protected Sub MapKeyword ( _
keyword As VBKeyword, _
action As Func(Of Boolean) _
)
'Usage
Dim keyword As VBKeyword
Dim action As Func(Of Boolean)
Me.MapKeyword(keyword, action)
protected void MapKeyword(
VBKeyword keyword,
Func<bool> action
)
protected:
void MapKeyword(
VBKeyword keyword,
Func<bool>^ action
)
member MapKeyword :
keyword:VBKeyword *
action:Func<bool> -> unit
protected function MapKeyword(
keyword : VBKeyword,
action : Func<boolean>
)
Parameters
- keyword
Type: System.Web.Razor.Tokenizer.Symbols.VBKeyword
The keyword.
- action
Type: System.Func<Boolean>
The action whether to map a given keyword.