public void Execute()
 {
     foreach (var type in _allTypes)
     {
         try
         {
             var weaver = new LoggingWeaver(type);
             weaver.Execute();
         }
         catch (Exception ex)
         {
             FodyEnvironment.LogWarning($"Failed to weave type '{type.FullName}', message is '{ex.Message}'");
             return;
         }
     }
 }
Esempio n. 2
0
 public void Execute()
 {
     foreach (var type in _allTypes)
     {
         try
         {
             var weaver = new LoggingWeaver(type);
             weaver.Execute();
         }
         catch (Exception ex)
         {
             FodyEnvironment.LogWarning($"Failed to weave type '{type.FullName}', message is '{ex.Message}'");
             return;
         }
     }
 }