C# 클래스 FlatFiles.FixedLengthSchema

Defines the expected format of a fixed-length file record.
상속: Schema
파일 보기 프로젝트 열기: jehugaleahsa/FlatFiles 1 사용 예제들

Private Properties

프로퍼티 타입 설명
FormatValues string[]
ParseValues object[]

공개 메소드들

메소드 설명
AddColumn ( IColumnDefinition definition, Window window ) : FixedLengthSchema

Adds a column to the schema, using the given definition to define it.

FixedLengthSchema ( ) : System

Initializes a new instance of a FixedLengthSchema.

비공개 메소드들

메소드 설명
FormatValues ( object values ) : string[]

Formats the given values assuming that they are in the same order as the column definitions.

ParseValues ( string values ) : object[]

Parses the given values assuming that they are in the same order as the column definitions.

메소드 상세

AddColumn() 공개 메소드

Adds a column to the schema, using the given definition to define it.
public AddColumn ( IColumnDefinition definition, Window window ) : FixedLengthSchema
definition IColumnDefinition The definition of the column to add.
window Window Describes the column
리턴 FixedLengthSchema

FixedLengthSchema() 공개 메소드

Initializes a new instance of a FixedLengthSchema.
public FixedLengthSchema ( ) : System
리턴 System