C# 클래스 AGENT.Contrib.Util.Parse

Provides additional parsing operations
파일 보기 프로젝트 열기: nothingmn/AGENT.Contrib

공개 메소드들

메소드 설명
BytesToString ( byte bytes ) : string

Convert an array of bytes to a string

TryParseBool ( string s, bool &val ) : bool

Attempt to parse the provided string value.

TryParseDouble ( string s, double &i ) : bool

Attempt to parse the provided string value.

TryParseInt ( string s, int &i ) : bool

Attempt to parse the provided string value.

TryParseLong ( string s, long &i ) : bool

Attempt to parse the provided string value.

TryParseShort ( string s, short &i ) : bool

Attempt to parse the provided string value.

TryParseUInt ( string s, uint &i ) : bool

Attempt to parse the provided string value.

TryParseULong ( string s, ulong &i ) : bool

Attempt to parse the provided string value.

TryParseUShort ( string s, ushort &i ) : bool

Attempt to parse the provided string value.

메소드 상세

BytesToString() 공개 정적인 메소드

Convert an array of bytes to a string
public static BytesToString ( byte bytes ) : string
bytes byte
리턴 string

TryParseBool() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseBool ( string s, bool &val ) : bool
s string String value to be parsed
val bool Variable to set successfully parsed value to
리턴 bool

TryParseDouble() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseDouble ( string s, double &i ) : bool
s string String value to be parsed
i double Variable to set successfully parsed value to
리턴 bool

TryParseInt() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseInt ( string s, int &i ) : bool
s string String value to be parsed
i int Variable to set successfully parsed value to
리턴 bool

TryParseLong() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseLong ( string s, long &i ) : bool
s string String value to be parsed
i long Variable to set successfully parsed value to
리턴 bool

TryParseShort() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseShort ( string s, short &i ) : bool
s string String value to be parsed
i short Variable to set successfully parsed value to
리턴 bool

TryParseUInt() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseUInt ( string s, uint &i ) : bool
s string String value to be parsed
i uint Variable to set successfully parsed value to
리턴 bool

TryParseULong() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseULong ( string s, ulong &i ) : bool
s string String value to be parsed
i ulong Variable to set successfully parsed value to
리턴 bool

TryParseUShort() 공개 정적인 메소드

Attempt to parse the provided string value.
public static TryParseUShort ( string s, ushort &i ) : bool
s string String value to be parsed
i ushort Variable to set successfully parsed value to
리턴 bool