Table of Contents

Struct Context

Namespace
Dec
Assembly
dec.dll

Information on the current cursor position when reading files.

public struct Context
Inherited Members

Remarks

Standard output format is $"{inputContext}: Your Error Text Here!". This abstracts out the requirements for generating the locational-context text.

This is a struct to cut down on GC churn.

Methods

Err(string)

Post a proper Context-decorated message to the error log.

public void Err(string message)

Parameters

message string

Inf(string)

Post a proper Context-decorated message to the info log.

public void Inf(string message)

Parameters

message string

PathString()

Returns the best guess at the path of this Record query.

public string PathString()

Returns

string

ToString()

Returns the fully qualified type name of this instance.

public override string ToString()

Returns

string

The fully qualified type name.

Wrn(string)

Post a proper Context-decorated message to the warning log.

public void Wrn(string message)

Parameters

message string