C# Class MtGoxTrader.Trader.Utils

Afficher le fichier Open project: iamapi/MtgoxTrader

Méthodes publiques

Méthode Description
GetDetailedException ( Exception exception ) : string

Helper method to get error message including inner exception

GetStackTrace ( Exception exception ) : string

Helper method to get stack trace including inner exception

LoadFromFile ( string fileName, Type t ) : object
SaveToFile ( object t, string fileName ) : void

Method Details

GetDetailedException() public static méthode

Helper method to get error message including inner exception
public static GetDetailedException ( Exception exception ) : string
exception System.Exception The exception object
Résultat string

GetStackTrace() public static méthode

Helper method to get stack trace including inner exception
public static GetStackTrace ( Exception exception ) : string
exception System.Exception The exception object
Résultat string

LoadFromFile() public static méthode

public static LoadFromFile ( string fileName, Type t ) : object
fileName string
t System.Type
Résultat object

SaveToFile() public static méthode

public static SaveToFile ( object t, string fileName ) : void
t object
fileName string
Résultat void