Show / Hide Table of Contents

Class LoggingTableVisitorBase

Base class to expose logging and basic tracing to ITableVisitor

Inheritance
Object
LoggingTableVisitorBase
TableEmitterBase
Implements
ITableVisitor
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Mangrove.MetricSetSyntaxTree.Logging
Assembly: MetricSetSyntaxTree.dll
Syntax
public abstract class LoggingTableVisitorBase : ITableVisitor
Remarks

Subclasses of this can implement the *WithTracing() methods and get trace messages on entry and exit of the corresponding interface method for free.

Constructors

View Source

LoggingTableVisitorBase(ILogger, String)

Declaration
public LoggingTableVisitorBase(ILogger logger, string visitorName = null)
Parameters
Type Name Description
ILogger logger
String visitorName

Properties

View Source

Logger

Declaration
protected ILogger Logger { get; }
Property Value
Type Description
ILogger
View Source

VisitorName

Declaration
protected string VisitorName { get; }
Property Value
Type Description
String

Methods

View Source

Visit(Aggregation)

Declaration
public void Visit(Aggregation table)
Parameters
Type Name Description
Aggregation table
View Source

Visit(DataSource)

Declaration
public void Visit(DataSource table)
Parameters
Type Name Description
DataSource table
View Source

Visit(ExternTable)

Declaration
public void Visit(ExternTable table)
Parameters
Type Name Description
ExternTable table
View Source

Visit(Join)

Declaration
public void Visit(Join table)
Parameters
Type Name Description
Join table
View Source

Visit(TableReference)

Declaration
public void Visit(TableReference table)
Parameters
Type Name Description
TableReference table
View Source

Visit(Union)

Declaration
public void Visit(Union table)
Parameters
Type Name Description
Union table
View Source

VisitWithTracing(Aggregation)

Declaration
public abstract void VisitWithTracing(Aggregation table)
Parameters
Type Name Description
Aggregation table
View Source

VisitWithTracing(DataSource)

Declaration
public abstract void VisitWithTracing(DataSource table)
Parameters
Type Name Description
DataSource table
View Source

VisitWithTracing(ExternTable)

Declaration
public abstract void VisitWithTracing(ExternTable table)
Parameters
Type Name Description
ExternTable table
View Source

VisitWithTracing(Join)

Declaration
public abstract void VisitWithTracing(Join table)
Parameters
Type Name Description
Join table
View Source

VisitWithTracing(TableReference)

Declaration
public abstract void VisitWithTracing(TableReference table)
Parameters
Type Name Description
TableReference table
View Source

VisitWithTracing(Union)

Declaration
public abstract void VisitWithTracing(Union table)
Parameters
Type Name Description
Union table

Implements

ITableVisitor

Extension Methods

ObjectExtensions.EventId(Object)
VisitorExtensions.VisitAll(ITableVisitor, IEnumerable<Table>)
  • View Source
Back to top Generated by DocFX