static IConditionFunction CreateOrCondition(IEnumerable <IConditionFunction> conditions) { var orCondition = new OrCondition(); foreach (var condition in conditions) { orCondition.AppendChild(condition); } return(orCondition); }