C# Класс indice.Edi.EdiTextReader

Наследование: EdiReader, IEdiLineInfo
Показать файл Открыть проект

Открытые методы

Метод Описание
EdiTextReader ( TextReader reader, IEdiGrammar grammar ) : indice.Edi.Utilities
HasLineInfo ( ) : bool

Gets a value indicating whether the class can return line information.

ReadAsDateTime ( ) : DateTime?

Reads the next EDI token from the stream as a Nullable{DateTime}.

ReadAsDecimal ( Picture picture = null ) : decimal?

Reads the next EDI token from the stream as a Nullable{Decimal}.

ReadAsInt32 ( ) : int?

Reads the next EDI token from the stream as a Nullable{Int32}.

ReadAsString ( ) : string

Reads the next EDI token from the stream as a String.

Приватные методы

Метод Описание
BlockCopyChars ( char src, int srcOffset, char dst, int dstOffset, int count ) : void
ClearRecentString ( ) : void
EatWhitespace ( bool oneOrMore ) : bool
EnsureChars ( int relativePosition, bool append ) : bool
GetBuffer ( ) : StringBuffer
OnNewLine ( int pos ) : void
ParsePostValue ( ) : bool
ParseSegment ( ) : bool
ParseSegmentName ( ) : bool
ParseServiceStringAdvice ( ) : bool
ParseString ( bool forceNull = false ) : void
ParseUnicode ( ) : char
ParseValue ( ) : bool
ProcessCarriageReturn ( bool append ) : void
ProcessLineFeed ( ) : void
Read ( ) : bool
ReadChars ( int relativePosition, bool append ) : bool
ReadData ( bool append ) : int
ReadData ( bool append, int charsRequired ) : int
ReadInternal ( ) : bool
ReadStringIntoBuffer ( ) : void
SetCharBuffer ( char chars ) : void
ShiftBufferIfNeeded ( ) : void
WriteCharToBuffer ( StringBuffer buffer, char writeChar, int lastWritePosition, int writeToPosition ) : void

Описание методов

EdiTextReader() публичный Метод

public EdiTextReader ( TextReader reader, IEdiGrammar grammar ) : indice.Edi.Utilities
reader TextReader
grammar IEdiGrammar
Результат indice.Edi.Utilities

HasLineInfo() публичный Метод

Gets a value indicating whether the class can return line information.
public HasLineInfo ( ) : bool
Результат bool

ReadAsDateTime() публичный Метод

Reads the next EDI token from the stream as a Nullable{DateTime}.
public ReadAsDateTime ( ) : DateTime?
Результат DateTime?

ReadAsDecimal() публичный Метод

Reads the next EDI token from the stream as a Nullable{Decimal}.
public ReadAsDecimal ( Picture picture = null ) : decimal?
picture Picture
Результат decimal?

ReadAsInt32() публичный Метод

Reads the next EDI token from the stream as a Nullable{Int32}.
public ReadAsInt32 ( ) : int?
Результат int?

ReadAsString() публичный Метод

Reads the next EDI token from the stream as a String.
public ReadAsString ( ) : string
Результат string