C# Класс FlatFiles.FixedLengthSchema

Defines the expected format of a fixed-length file record.
Наследование: Schema
Показать файл Открыть проект Примеры использования класса

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