C# 클래스 indice.Edi.EdiReader

상속: IDisposable
파일 보기 프로젝트 열기: indice-co/EDI.Net 1 사용 예제들

공개 메소드들

메소드 설명
CheckInsideSegment ( string segmentName ) : bool
Close ( ) : void

Changes the State to Closed.

Read ( ) : bool

Reads the next EDI token from the stream.

ReadAsDateTime ( ) : DateTime?

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

ReadAsDecimal ( Picture picture ) : 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.

Skip ( ) : void

Skips the children of the current token.

보호된 메소드들

메소드 설명
Dispose ( bool disposing ) : void

Releases unmanaged and - optionally - managed resources

EdiReader ( IEdiGrammar grammar ) : indice.Edi.Utilities

Initializes a new instance of the EdiReader class.

SetToken ( EdiToken newToken ) : void

Sets the current token.

SetToken ( EdiToken newToken, object value ) : void

Sets the current token and value.

비공개 메소드들

메소드 설명
GetCurrentPath ( ) : string
GetPosition ( int depth ) : EdiPosition
IDisposable ( ) : void

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

IncrementPosition ( ) : void
Peek ( ) : EdiContainerType
Pop ( ) : EdiContainerType
Push ( EdiContainerType value ) : void
ReadAsDateTimeInternal ( ) : DateTime?
ReadAsDecimalInternal ( Picture picture ) : decimal?
ReadAsInt32Internal ( ) : int?
ReadAsStringInternal ( ) : string
ReadInternal ( ) : bool
SetFinished ( ) : void
SetPostValueState ( ) : void
SetToken ( EdiToken newToken, object value, bool updateIndex ) : void

메소드 상세

CheckInsideSegment() 공개 메소드

public CheckInsideSegment ( string segmentName ) : bool
segmentName string
리턴 bool

Close() 공개 메소드

Changes the State to Closed.
public Close ( ) : void
리턴 void

Dispose() 보호된 메소드

Releases unmanaged and - optionally - managed resources
protected Dispose ( bool disposing ) : void
disposing bool true to release both managed and unmanaged resources; false to release only unmanaged resources.
리턴 void

EdiReader() 보호된 메소드

Initializes a new instance of the EdiReader class.
protected EdiReader ( IEdiGrammar grammar ) : indice.Edi.Utilities
grammar IEdiGrammar
리턴 indice.Edi.Utilities

Read() 공개 추상적인 메소드

Reads the next EDI token from the stream.
public abstract Read ( ) : bool
리턴 bool

ReadAsDateTime() 공개 추상적인 메소드

Reads the next EDI token from the stream as a Nullable{DateTime}.
public abstract ReadAsDateTime ( ) : DateTime?
리턴 DateTime?

ReadAsDecimal() 공개 추상적인 메소드

Reads the next EDI token from the stream as a Nullable{Decimal}.
public abstract ReadAsDecimal ( Picture picture ) : decimal?
picture Picture The is the format information needed to parse this into a float
리턴 decimal?

ReadAsInt32() 공개 추상적인 메소드

Reads the next EDI token from the stream as a Nullable{Int32}.
public abstract ReadAsInt32 ( ) : int?
리턴 int?

ReadAsString() 공개 추상적인 메소드

Reads the next EDI token from the stream as a String.
public abstract ReadAsString ( ) : string
리턴 string

SetToken() 보호된 메소드

Sets the current token.
protected SetToken ( EdiToken newToken ) : void
newToken EdiToken The new token.
리턴 void

SetToken() 보호된 메소드

Sets the current token and value.
protected SetToken ( EdiToken newToken, object value ) : void
newToken EdiToken The new token.
value object The value.
리턴 void

Skip() 공개 메소드

Skips the children of the current token.
public Skip ( ) : void
리턴 void