SharpCell

CalculationDiagnostic

public sealed class CalculationDiagnostic

Namespace SharpCell · package SharpCell

Something calculation noticed that is not visible in cell values alone.

Constructors

CalculationDiagnostic(DiagnosticKind, Worksheet, string, string)

public CalculationDiagnostic(DiagnosticKind kind, Worksheet? sheet, string? address, string message)

Something calculation noticed that is not visible in cell values alone.

Properties

Address

public string? Address { get; }

A1 address of the affected cell; null for Workbook.Evaluate.

Kind

public DiagnosticKind Kind { get; }

What happened.

Message

public string Message { get; }

A description for people, such as the cells that form a circular reference.

Sheet

public Worksheet? Sheet { get; }

Sheet of the affected cell; null for Workbook.Evaluate.

Methods

ToString()

public override string ToString()

The kind, the cell if there is one, and the message on one line.