public IIniSerializerConfiguration Apply() { MappingEntry<IniContext> entry; if(_isSingle) entry = new SingleIniMapper(_member, _targetType, _converter, _section, _key); else entry = new ListIniMapper(_member, _targetType, _listConverter, _section, _key); _mapper.Entries.Add(entry); return _configuration; }
public IIniSerializerConfiguration Apply() { MappingEntry <IniContext> entry; if (_isSingle) { entry = new SingleIniMapper(_member, _targetType, _converter, _section, _key); } else { entry = new ListIniMapper(_member, _targetType, _listConverter, _section, _key); } _mapper.Entries.Add(entry); return(_configuration); }