C# Class KEngine.Debuger

Mostra file Open project: mr-kelly/KEngine Class Usage Examples

Public Methods

Method Description
Assert ( System.Int64 result ) : void
Assert ( bool result ) : void
Assert ( bool result, string msg ) : void
Assert ( int result ) : void
Assert ( object obj ) : void
BeginRecordTime ( string key ) : void
Check ( object obj, string formatStr = null ) : bool

Check if a object null

EndRecordTime ( bool printLog = true ) : string
WatchPerformance ( System.Action del ) : void
WatchPerformance ( string outputStr, System.Action del ) : void

Method Details

Assert() public static method

public static Assert ( System.Int64 result ) : void
result System.Int64
return void

Assert() public static method

public static Assert ( bool result ) : void
result bool
return void

Assert() public static method

public static Assert ( bool result, string msg ) : void
result bool
msg string
return void

Assert() public static method

public static Assert ( int result ) : void
result int
return void

Assert() public static method

public static Assert ( object obj ) : void
obj object
return void

BeginRecordTime() public static method

public static BeginRecordTime ( string key ) : void
key string
return void

Check() public static method

Check if a object null
public static Check ( object obj, string formatStr = null ) : bool
obj object
formatStr string
return bool

EndRecordTime() public static method

public static EndRecordTime ( bool printLog = true ) : string
printLog bool
return string

WatchPerformance() public static method

public static WatchPerformance ( System.Action del ) : void
del System.Action
return void

WatchPerformance() public static method

public static WatchPerformance ( string outputStr, System.Action del ) : void
outputStr string
del System.Action
return void