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
파일 보기 프로젝트 열기: adamabdelhamed/PowerArgs

공개 메소드들

메소드 설명
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