public override MKey AddKey(MKey key) { key = base.AddKey(ExtendKey(key, key.GetKey(0))); var keyIdx = MapperTypes.IndexOf(key); return(key); }
public static IIonMapper GetMapper(MapperTypes mapperType) { if (mapperType == MapperTypes.DEFAULT || mapperType == MapperTypes.LOSSY) { return(new Lossy()); } return(new Lossy()); }
public CustomIonMapper(MapperTypes defaultMapperType) { this.DefaultMapper = IonMapperFactory.GetMapper(defaultMapperType); this.Mapper = DefaultMapper.GetMapper(); }