Beispiel #1
0
 public virtual void Apply(BaseCsharpFileUpgradeContext context, IList <ICsharpCodeUpgradeAction> actions)
 {
     try
     {
         Context = context;
         Context.BeginUpgrade(() =>
         {
             foreach (var action in actions)
             {
                 action.Apply(Context);
                 AppliedActions.Add(action);
             }
         });
     }
     catch (Exception e)
     {
         throw;
     }
 }