C# Класс indice.Edi.Utilities.EdiExtensions

Показать файл Открыть проект

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

Метод Описание
InferStructure ( this attributes ) : EdiStructureType

Figures out the container (EdiStructureType) based upon the current pool of EdiStructureAttribute.

IsPrimitiveToken ( this token ) : bool
IsStartToken ( this token ) : bool
OfType ( this attributes, EdiStructureType container ) : IEnumerable

Parse ( this value, Picture picture, char decimalMark ) : decimal?
ParseEdiDate ( this value, string format, CultureInfo culture = null ) : System.DateTime
ToEdiString ( this value, Picture picture ) : string
ToEdiString ( this value, Picture picture, char decimalMark ) : string
TryParse ( this value, Picture picture, char decimalMark, decimal &number ) : bool
TryParseEdiDate ( this value, string format, CultureInfo culture, System.DateTime &date ) : bool

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

Метод Описание
ParseEdiDateInternal ( string value, string format, CultureInfo culture = null ) : DateTime?

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

InferStructure() публичный статический Метод

Figures out the container (EdiStructureType) based upon the current pool of EdiStructureAttribute.
public static InferStructure ( this attributes ) : EdiStructureType
attributes this
Результат EdiStructureType

IsPrimitiveToken() публичный статический Метод

public static IsPrimitiveToken ( this token ) : bool
token this
Результат bool

IsStartToken() публичный статический Метод

public static IsStartToken ( this token ) : bool
token this
Результат bool

OfType() публичный статический Метод

public static OfType ( this attributes, EdiStructureType container ) : IEnumerable
attributes this The list of available attributes
container EdiStructureType This is the type of container we are searchig attributes for.
Результат IEnumerable

Parse() публичный статический Метод

public static Parse ( this value, Picture picture, char decimalMark ) : decimal?
value this
picture Picture
decimalMark char
Результат decimal?

ParseEdiDate() публичный статический Метод

public static ParseEdiDate ( this value, string format, CultureInfo culture = null ) : System.DateTime
value this
format string
culture System.Globalization.CultureInfo
Результат System.DateTime

ToEdiString() публичный статический Метод

public static ToEdiString ( this value, Picture picture ) : string
value this
picture Picture
Результат string

ToEdiString() публичный статический Метод

public static ToEdiString ( this value, Picture picture, char decimalMark ) : string
value this
picture Picture
decimalMark char
Результат string

TryParse() публичный статический Метод

public static TryParse ( this value, Picture picture, char decimalMark, decimal &number ) : bool
value this
picture Picture
decimalMark char
number decimal
Результат bool

TryParseEdiDate() публичный статический Метод

public static TryParseEdiDate ( this value, string format, CultureInfo culture, System.DateTime &date ) : bool
value this
format string
culture System.Globalization.CultureInfo
date System.DateTime
Результат bool