Show / Hide Table of Contents

Class Diagnostic<T>

Diagnostic message with strongly-typed classification, likely attached to the output of some call to a 'Parse' method.

Inheritance
Object
Diagnostic<T>
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.Parsing.Models
Assembly: Mangrove.Parsing.dll
Syntax
public class Diagnostic<T>
    where T : Enum
Type Parameters
Name Description
T

Could be WarningKind or ErrorKind.

Constructors

View Source

Diagnostic(T, String)

Declaration
public Diagnostic(T type, string message)
Parameters
Type Name Description
T type
String message

Properties

View Source

Message

The raw message underlying this diagnostic.

Declaration
public string Message { get; }
Property Value
Type Description
String
View Source

Type

The type of diagnostic that this is.

Declaration
public T Type { get; }
Property Value
Type Description
T

Extension Methods

ObjectExtensions.EventId(Object)
  • View Source
Back to top Generated by DocFX