Delen via


ErrorSink Class

Definition

Used to manage RazorErrors encountered during the Razor parsing phase.

public ref class ErrorSink
public class ErrorSink
type ErrorSink = class
Public Class ErrorSink
Inheritance
ErrorSink

Constructors

ErrorSink()

Instantiates a new instance of ErrorSink.

Properties

Errors

RazorErrors collected.

Methods

OnError(RazorError)

Tracks the given error.

OnError(SourceLocation, String, Int32)

Creates and tracks a new RazorError.

Applies to