C# 클래스 DevUtils.PrimitivesExtensions.LongExtensions

Static long extension
파일 보기 프로젝트 열기: jornfilho/.net-Dev-Utils

공개 메소드들

메소드 설명
IsValidLong ( this strValue ) : bool

Test if string value is a valid long value

IsValidLong ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : bool

Test if string value is a valid long value

TryParseLong ( this strValue ) : long

Convert string value to long value

TryParseLong ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : long

Convert string value to long value

TryParseLong ( this strValue, long defaultValue ) : long

Convert string value to long value

TryParseLong ( this strValue, long defaultValue, NumberStyles numberStyle, CultureInfo culture ) : long

Convert string value to long value

TryParseLong ( this strValue, long defaultValue, bool allowZero ) : long

Convert string value to long value

TryParseLong ( this strValue, long defaultValue, bool allowZero, NumberStyles numberStyle, CultureInfo culture ) : long

Convert string value to long value

TryParseLongArray ( this strValue ) : long[]

Parse string array in short long

TryParseLongArray ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : long[]

Parse string array in long array

TryParseLongArray ( this strValue, long defaultValue ) : long[]

Parse string array in long array

TryParseLongArray ( this strValue, long defaultValue, NumberStyles numberStyle, CultureInfo culture ) : long[]

Parse string array in long array

TryParseLongArray ( this strValue, long defaultValue, bool allowDefaultConversion ) : long[]

Parse string array in long array

TryParseLongArray ( this strValue, long defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, CultureInfo culture ) : long[]

Parse string array in long array

메소드 상세

IsValidLong() 공개 정적인 메소드

Test if string value is a valid long value
public static IsValidLong ( this strValue ) : bool
strValue this string value
리턴 bool

IsValidLong() 공개 정적인 메소드

Test if string value is a valid long value
public static IsValidLong ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : bool
strValue this string value
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 bool

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue ) : long
strValue this string value to convert
리턴 long

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : long
strValue this string value to convert
numberStyle NumberStyles string number style
culture System.Globalization.CultureInfo current culture
리턴 long

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue, long defaultValue ) : long
strValue this string value to convert
defaultValue long default value when error on convert value
리턴 long

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue, long defaultValue, NumberStyles numberStyle, CultureInfo culture ) : long
strValue this string value to convert
defaultValue long default value when error on convert value
numberStyle NumberStyles string number style
culture System.Globalization.CultureInfo current culture
리턴 long

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue, long defaultValue, bool allowZero ) : long
strValue this string value to convert
defaultValue long default value when error on convert value
allowZero bool allow zero on convert
리턴 long

TryParseLong() 공개 정적인 메소드

Convert string value to long value
public static TryParseLong ( this strValue, long defaultValue, bool allowZero, NumberStyles numberStyle, CultureInfo culture ) : long
strValue this string value to convert
defaultValue long default value when error on convert value
allowZero bool allow zero on convert
numberStyle NumberStyles string number style
culture System.Globalization.CultureInfo current culture
리턴 long

TryParseLongArray() 공개 정적인 메소드

Parse string array in short long
public static TryParseLongArray ( this strValue ) : long[]
strValue this string to parse
리턴 long[]

TryParseLongArray() 공개 정적인 메소드

Parse string array in long array
public static TryParseLongArray ( this strValue, NumberStyles numberStyle, CultureInfo culture ) : long[]
strValue this string to parse
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 long[]

TryParseLongArray() 공개 정적인 메소드

Parse string array in long array
public static TryParseLongArray ( this strValue, long defaultValue ) : long[]
strValue this string to parse
defaultValue long default value when default tryparse
리턴 long[]

TryParseLongArray() 공개 정적인 메소드

Parse string array in long array
public static TryParseLongArray ( this strValue, long defaultValue, NumberStyles numberStyle, CultureInfo culture ) : long[]
strValue this string to parse
defaultValue long default value when default tryparse
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 long[]

TryParseLongArray() 공개 정적인 메소드

Parse string array in long array
public static TryParseLongArray ( this strValue, long defaultValue, bool allowDefaultConversion ) : long[]
strValue this string to parse
defaultValue long default value when default tryparse
allowDefaultConversion bool Allow default tryparse values
리턴 long[]

TryParseLongArray() 공개 정적인 메소드

Parse string array in long array
public static TryParseLongArray ( this strValue, long defaultValue, bool allowDefaultConversion, NumberStyles numberStyle, CultureInfo culture ) : long[]
strValue this string to parse
defaultValue long default value when default tryparse
allowDefaultConversion bool Allow default tryparse values
numberStyle NumberStyles number style to convert
culture System.Globalization.CultureInfo culture origin
리턴 long[]