public AbstractMapper Get(Type type) { AbstractMapper mapper = null; mapperDictionary.TryGetValue(type, out mapper); return(mapper); }
public void Add(Type type, AbstractMapper mapper) { if (!mapperDictionary.ContainsKey(type)) { mapperDictionary.Add(type, mapper); } }