/** * Evaluates the filters defined for this FieldMapping. If any of the filters * evaluate to false, the FieldMapping is not added * * @param fieldMapping The FieldMapping to add * @return True if the FieldMapping was added. Otherwise false */ private bool AddRule(FieldMapping fieldMapping) { MappingsFilter filt = fieldMapping.Filter; // Filter out this rule? if (filt != null) { if (!filt.EvalDirection(fDirection) || !filt.EvalVersion(fSIFVersion)) { return(false); } } fFieldMappings.Add(fieldMapping); return(true); }