C# Класс Expl.Auxiliary.ExplDiagnostics

Показать файл Открыть проект

Открытые методы

Метод Описание
GetExceptionMessages ( this ex ) : string

Get human readable dump of exception message(s).

InDebug ( System.Action delg ) : void

Execute a delegate in debug build only.

WriteLine ( Func delg ) : void

Write debug text and include the class/method name and time stamp.

In debug mode, this method does as intended. In release mode, the delegate is never executed. Performance overhead to calling code is reduced by not processing the parameters.

WriteLine ( string text ) : void

Write debug text and include the class/method name and time stamp.

Описание методов

GetExceptionMessages() публичный статический Метод

Get human readable dump of exception message(s).
public static GetExceptionMessages ( this ex ) : string
ex this Exception object.
Результат string

InDebug() публичный статический Метод

Execute a delegate in debug build only.
public static InDebug ( System.Action delg ) : void
delg System.Action Delegate to execute
Результат void

WriteLine() публичный статический Метод

Write debug text and include the class/method name and time stamp.
In debug mode, this method does as intended. In release mode, the delegate is never executed. Performance overhead to calling code is reduced by not processing the parameters.
public static WriteLine ( Func delg ) : void
delg Func Delegate that returns text to write.
Результат void

WriteLine() публичный статический Метод

Write debug text and include the class/method name and time stamp.
public static WriteLine ( string text ) : void
text string Text to write.
Результат void