private void applyGlobalTransforms(ContentPlan plan) { var globalPolicies = _library.FindGlobalPoliciesFor(plan.MimeType); globalPolicies.Each(policy => { if (policy.MustBeBatched()) { plan.CombineAll(); } plan.GetAllSources().Each(s => plan.ApplyTransform(s, policy.TransformerType)); }); }
private static void combineWhateverIsLeft(ContentPlan plan) { plan.CombineAll(); }