public void Dispose() { #if DEBUG var end = DateTime.Now; var execTime = (end - start).TotalSeconds; EventLogs.Info(String.Format(Format, comment, execTime), category, eventId, CSContext.Current.SettingsID); #endif }