C# Class TryParseWithDefault, SumoVizUnity_ModSem

Afficher le fichier Open project: benjaminaaron/SumoVizUnity_ModSem Class Usage Examples

Méthodes publiques

Méthode Description
ToByte ( string valueToParse, Byte defaultValue ) : Byte
ToDecimal ( string valueToParse, Decimal defaultValue ) : Decimal
ToDouble ( string valueToParse, Double defaultValue ) : Double
ToInt16 ( string valueToParse, Int16 defaultValue ) : Int16
ToInt32 ( string valueToParse, Int32 defaultValue ) : Int32
ToInt64 ( string valueToParse, System.Int64 defaultValue ) : System.Int64
ToSByte ( string valueToParse, SByte defaultValue ) : SByte
ToSingle ( string valueToParse, Single defaultValue ) : Single
ToUInt16 ( string valueToParse, UInt16 defaultValue ) : UInt16
ToUInt32 ( string valueToParse, UInt32 defaultValue ) : UInt32
ToUInt64 ( string valueToParse, System.UInt64 defaultValue ) : System.UInt64

Method Details

ToByte() public static méthode

public static ToByte ( string valueToParse, Byte defaultValue ) : Byte
valueToParse string
defaultValue Byte
Résultat Byte

ToDecimal() public static méthode

public static ToDecimal ( string valueToParse, Decimal defaultValue ) : Decimal
valueToParse string
defaultValue Decimal
Résultat Decimal

ToDouble() public static méthode

public static ToDouble ( string valueToParse, Double defaultValue ) : Double
valueToParse string
defaultValue Double
Résultat Double

ToInt16() public static méthode

public static ToInt16 ( string valueToParse, Int16 defaultValue ) : Int16
valueToParse string
defaultValue System.Int16
Résultat System.Int16

ToInt32() public static méthode

public static ToInt32 ( string valueToParse, Int32 defaultValue ) : Int32
valueToParse string
defaultValue System.Int32
Résultat System.Int32

ToInt64() public static méthode

public static ToInt64 ( string valueToParse, System.Int64 defaultValue ) : System.Int64
valueToParse string
defaultValue System.Int64
Résultat System.Int64

ToSByte() public static méthode

public static ToSByte ( string valueToParse, SByte defaultValue ) : SByte
valueToParse string
defaultValue SByte
Résultat SByte

ToSingle() public static méthode

public static ToSingle ( string valueToParse, Single defaultValue ) : Single
valueToParse string
defaultValue Single
Résultat Single

ToUInt16() public static méthode

public static ToUInt16 ( string valueToParse, UInt16 defaultValue ) : UInt16
valueToParse string
defaultValue System.UInt16
Résultat System.UInt16

ToUInt32() public static méthode

public static ToUInt32 ( string valueToParse, UInt32 defaultValue ) : UInt32
valueToParse string
defaultValue System.UInt32
Résultat System.UInt32

ToUInt64() public static méthode

public static ToUInt64 ( string valueToParse, System.UInt64 defaultValue ) : System.UInt64
valueToParse string
defaultValue System.UInt64
Résultat System.UInt64