public void Begin(string name) { if(Properties.Settings.Default.Debug_BeginContext) _logger(GraphdatLogType.InformationMessage, null, "Begin {0}", name); Context.Enter( name, () => new Timer(), timer => timer.Stop()); }