Share via


RazorError Class

Definition

public ref class RazorError : IEquatable<Microsoft::AspNetCore::Razor::RazorError ^>
public class RazorError : IEquatable<Microsoft.AspNetCore.Razor.RazorError>
type RazorError = class
    interface IEquatable<RazorError>
Public Class RazorError
Implements IEquatable(Of RazorError)
Inheritance
RazorError
Implements

Constructors

Name Description
RazorError()

Used only for deserialization.

RazorError(String, Int32, Int32, Int32, Int32)
RazorError(String, SourceLocation, Int32)

Properties

Name Description
Length

Gets or sets the length of the erroneous text.

Location

Gets (or sets) the start position of the erroneous text.

Message

Gets (or sets) the message describing the error.

Methods

Name Description
Equals(Object)
Equals(RazorError)
GetHashCode()
ToString()

Applies to