Enumerates all lines from the passed in System.IO.TextReader.

Declaration Syntax

Public Shared Function Create( _
	ByVal reader As TextReader, _
	ByVal stripEmptyLines As Boolean, _
	ByVal stripComments As Boolean _
) As IEnumerable`1
public static IEnumerable`1<string> Create(
	TextReader reader, 
	bool stripEmptyLines, 
	bool stripComments
);
public: static IEnumerable`1 Create(
	TextReader reader, 
	bool stripEmptyLines, 
	bool stripComments
);
public static function Create(
	reader : TextReader, 
	stripEmptyLines : Boolean, 
	stripComments : Boolean
) : IEnumerable`1;

Parameters

reader
The reader from which text will be read. 
stripEmptyLines
Whether or not to strip empty lines. 
stripComments
Whether or not to strip lines starting in c#-style one-line comments ('//'). 

Return Value

An enumeration of each line in the file.

Requirements

Namespace: Eas.WebCrawler.Common.IO
Assembly: Eas.WebCrawler.Common (eas.webcrawler.common.dll)

See Also

TextLineEnumerator Class | TextLineEnumerator Members | Eas.WebCrawler.Common.IO Namespace