CSharpCodeParser.IsSpacingToken Method

Indicates whether the lines and comments is spacing token.

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

protected static Func<CSharpSymbol, bool> IsSpacingToken(
	bool includeNewLines,
	bool includeComments
)

Parameters

includeNewLines
Type: System.Boolean
true to include new lines; otherwise, false.
includeComments
Type: System.Boolean
true to include comments; otherwise, false.

Return Value

Type: System.Func<CSharpSymbol, Boolean>
The function that indicates the spacing token.
Show: