Прочитај на енглеском

Делите путем


ParserContext Class

Definition

C#
public class ParserContext
Inheritance
ParserContext

Constructors

Properties

Methods

AddSpan(Span)
CompleteParse()
EndBlock()

Ends the current block

IsWithin(BlockType)

Gets a boolean indicating if any of the ancestors of the current block is of the specified type

OnError(RazorError)
OnError(SourceLocation, String, Int32, Object[])
OnError(SourceLocation, String, Int32)
StartBlock()

Starts a block

StartBlock(BlockType)

Starts a block of the specified type

SwitchActiveParser()

Applies to

Производ Верзије
ASP.NET Core 1.0, 1.1