Skip to content

Class SchemaProblem

Namespace: Apogee.Content.Xml
Assembly: Apogee.Content.dll

Something wrong in a file: says where in the element (Crate.items[2].count), where in the file.

public sealed record SchemaProblem : IEquatable<SchemaProblem>

Inheritance

object ← SchemaProblem

Implements

IEquatable<SchemaProblem>

Inherited Members

object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()

Constructors

SchemaProblem(ProblemSeverity, string, string?, int, string)

Something wrong in a file: says where in the element (Crate.items[2].count), where in the file.

public SchemaProblem(ProblemSeverity Severity, string Path, string? File, int Line, string Message)

Parameters

Severity ProblemSeverity

Path string

File string?

Line int

Message string

Properties

File

public string? File { get; init; }

Property Value

string?

Line

public int Line { get; init; }

Property Value

int

Message

public string Message { get; init; }

Property Value

string

Path

public string Path { get; init; }

Property Value

string

Severity

public ProblemSeverity Severity { get; init; }

Property Value

ProblemSeverity

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.