PostSharpAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CustomICustom­Log­Record­BuilderSet­Execution­Time
Open sandboxFocus

ICustomLogRecordBuilder.SetExecutionTime Method

SetExecutionTime(Double, Boolean)

Sets an execution time to the record.

Declaration
void SetExecutionTime(double executionTime, bool isOvertime)
Parameters
Type Name Description
System.Double executionTime

Execution time.

Boolean isOvertime

true whether the activity is overtime, otherwise false.