Table of Contents

Interface IReadOnlyValidationContext

Namespace
TabularEditor.SemanticBridge.Platforms.Databricks.Validation
Assembly
SemanticBridge.dll

Read-only view of validation context state for consumption by validation rules

public interface IReadOnlyValidationContext
Extension Methods

Properties

DimensionNames

Read-only view of dimension names seen during traversal for uniqueness validation

IReadOnlySet<string> DimensionNames { get; }

Property Value

Type Description
IReadOnlySet<string>

JoinNames

Read-only view of join names seen during traversal for uniqueness validation

IReadOnlySet<string> JoinNames { get; }

Property Value

Type Description
IReadOnlySet<string>

MeasureNames

Read-only view of measure names seen during traversal for uniqueness validation

IReadOnlySet<string> MeasureNames { get; }

Property Value

Type Description
IReadOnlySet<string>

PathStack

Read-only view of the stack tracking the current path in the object graph.

IEnumerable<string> PathStack { get; }

Property Value

Type Description
IEnumerable<string>

Methods

MakeError(string, string?)

Creates a diagnostic error message with the current path context

DiagnosticMessage MakeError(string message, string? property = null)

Parameters

Type Name Description
string message

The error message

string property

The property that has the error

Returns

Type Description
DiagnosticMessage

A DiagnosticMessage with Error severity