public void AddEffectToAllFiles(IPdfEffect effect) { effects.Add(effect); foreach (BatchFile file in batchFiles) { file.LocalEffectSettings.Add(effect.GetLocalSettings()); } }
public ILocalPdfEffectSettings GetLocalSettingsForEffect(IPdfEffect effect) { foreach(ILocalPdfEffectSettings settings in localSettings) { if (settings.GetMainEffect() == effect) return settings; } return null; }