public override void Add(MapperComposite mapper) { if (this.Children.Any(a => a.Value.Equals(mapper.Value))) { throw new ExistingChildIdentifierException($"Child with identifier {mapper.Value} already added."); } this.Children.Add(mapper); }
public override void Add(MapperComposite identifier) { throw new NotImplementedException(); }