C# 클래스 indice.Edi.Utilities.EdiExtensions

파일 보기 프로젝트 열기: indice-co/EDI.Net

공개 메소드들

메소드 설명
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