Share via


VBCodeParser.MapKeyword(VBKeyword, Func<Boolean>) Method

Definition

Maps a given keyword.

protected void MapKeyword (System.Web.Razor.Tokenizer.Symbols.VBKeyword keyword, Func<bool> action);
member this.MapKeyword : System.Web.Razor.Tokenizer.Symbols.VBKeyword * Func<bool> -> unit
Protected Sub MapKeyword (keyword As VBKeyword, action As Func(Of Boolean))

Parameters

keyword
VBKeyword

The keyword.

action
Func<Boolean>

The action whether to map a given keyword.

Applies to