Skip to content

T_CodeJam_TableData_Parser

Andrew Koryavchenko edited this page Jun 17, 2018 · 5 revisions

Parser Delegate

Reads single line from table data and parses it.

Namespace: CodeJam.TableData
Assembly: CodeJam.Blocks (in CodeJam.Blocks.dll) Version: 2.0.0.0

Syntax

C#

public delegate string[] Parser(
	TextReader reader,
	ref int lineNum
)

VB

Public Delegate Function Parser ( 
	reader As TextReader,
	ByRef lineNum As Integer
) As String()

F#

type Parser = 
    delegate of 
        reader : TextReader * 
        lineNum : int byref -> string[]

Parameters

 

reader
Type: System.IO.TextReader
TextReader to read data from
lineNum
Type: System.Int32
current number of line

Return Value

Type: String[]
Null, if end of file reached, string[0] if line contains no valued, or array of values.

See Also

Reference

CodeJam.TableData Namespace

Clone this wiki locally