static OMFFrameworkSection() { try { OMFFrameworkSection.current = ConfigurationManager.GetSection("OMF.Framework") as OMFFrameworkSection; } catch (Exception ex) { EventLogHelper.Write(ExceptionManager.GetExceptionMessageWithDebugInfo((Exception) new OMFException("BPJ.Framework configuration exception", ex)), EventLogEntryType.Error); } }
static ConfigurationController() { ConfigurationController.CurrentWebConfig = OMFFrameworkSection.Current; }