Skip to content

M_CodeJam_TableData_TableDataParser_Parse

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

TableDataParser.Parse Method (Parser, TextReader)

Parses table data.

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

Syntax

C#

public static IEnumerable<DataLine> Parse(
	this Parser parser,
	TextReader reader
)

VB

<ExtensionAttribute>
Public Shared Function Parse ( 
	parser As Parser,
	reader As TextReader
) As IEnumerable(Of DataLine)

F#

[<ExtensionAttribute>]
static member Parse : 
        parser : Parser * 
        reader : TextReader -> IEnumerable<DataLine> 

Parameters

 

parser
Type: CodeJam.TableData.Parser
Instance of specific parser.
reader
Type: System.IO.TextReader
Text to parse

Return Value

Type: IEnumerable(DataLine)
Enumeration of DataLine contained parsed data.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Parser. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also

Reference

TableDataParser Class
Parse Overload
CodeJam.TableData Namespace

Clone this wiki locally