public void AddMappingPattern(IMappingPattern pattern) { mappingPatterns.Insert(0, pattern); }
public void AddMappingPattern(IMappingPattern pattern) { mappingPatterns.Insert(0, pattern); }
public ApplyMappingSteps(IMappingPattern[] mappingPatterns) { this.mappingPatterns = mappingPatterns; }
protected virtual IMappingPattern[] BuildMappingPatterns(IMappingPattern[] customPatterns) { var patterns = new List<IMappingPattern> { new MatchByNameMappingPattern(), new MatchByNameFlattenMappingPattern() }; if (customPatterns != null && customPatterns.Length > 0) { patterns.AddRange(customPatterns); } return patterns.ToArray(); }