Table of Contents

Class Table

Namespace
DCR.Workflow.Effect
Assembly
DCR.Workflow.dll

Representation of tables of Value

public class Table
Inheritance
Table
Inherited Members
Extension Methods

Constructors

Table()

public Table()

Table(string[])

public Table(string[] headers)

Parameters

headers string[]

Table(string[], value[][])

public Table(string[] headers, value[][] rows)

Parameters

headers string[]
rows value[][]

Properties

Headers

public string[] Headers { get; }

Property Value

string[]

Rows

public value[][] Rows { get; }

Property Value

value[][]

Methods

GetRow(int)

Iterate over values in given row

public IEnumerable<KeyValuePair<string, value>> GetRow(int row)

Parameters

row int

Returns

IEnumerable<KeyValuePair<string, value>>

GetValue(int, string)

Get the value of named column at given row

public value GetValue(int row, string col)

Parameters

row int
col string

Returns

value

PackRow(int)

public value PackRow(int row)

Parameters

row int

Returns

value

Replace(string, int)

public string Replace(string s, int row)

Parameters

s string
row int

Returns

string

UnpackRow(value)

public static IEnumerable<KeyValuePair<string, value>> UnpackRow(value packed)

Parameters

packed value

Returns

IEnumerable<KeyValuePair<string, value>>