C# Класс PowerArgs.TableExpression

A document expression that can be used to render a table that is specifically formatted to display in a console window.
Наследование: IDocumentExpression
Показать файл Открыть проект

Открытые методы

Метод Описание
Evaluate ( PowerArgs.DocumentRendererContext context ) : ConsoleString

Renders the table given a data context

TableExpression ( PowerArgs.DocumentToken evalToken, List columns, PowerArgs.DocumentExpressionContext context ) : System

Creates a new table expression given a collection evaluation expression and a list of column tokens

Описание методов

Evaluate() публичный Метод

Renders the table given a data context
public Evaluate ( PowerArgs.DocumentRendererContext context ) : ConsoleString
context PowerArgs.DocumentRendererContext the data context
Результат ConsoleString

TableExpression() публичный Метод

Creates a new table expression given a collection evaluation expression and a list of column tokens
public TableExpression ( PowerArgs.DocumentToken evalToken, List columns, PowerArgs.DocumentExpressionContext context ) : System
evalToken PowerArgs.DocumentToken A token containing an expression that should evaluate to an IEnumerable
columns List A list of tokens containing the names of columns to display in the table
context PowerArgs.DocumentExpressionContext Context that is used to determine the indentation of the table within the document
Результат System