public static void ExecuteExports <T>(this CompositionContainer container, Action <T> action)
 {
     foreach (T export in container.GetAllExports <T>())
     {
         action(export);
     }
 }
 public static async Task ExecuteExports <T>(this CompositionContainer container, Func <T, Task> action)
 {
     foreach (T export in container.GetAllExports <T>())
     {
         await action(export);
     }
 }