コード例 #1
0
 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);
     }
 }
コード例 #2
0
 static ConfigurationController()
 {
     ConfigurationController.CurrentWebConfig = OMFFrameworkSection.Current;
 }