public void AddToRecommendedFactories(string typeEx, PexExplorableCandidate factory) { SafeList<PexExplorableCandidate> existingList; if (!this.recommendedFactories.TryGetValue(typeEx, out existingList)) { existingList = new SafeList<PexExplorableCandidate>(); this.recommendedFactories.Add(typeEx, existingList); } existingList.Add(factory); }
public void AddToRecommendedFactories(string typeEx, PexExplorableCandidate factory) { SafeList <PexExplorableCandidate> existingList; if (!this.recommendedFactories.TryGetValue(typeEx, out existingList)) { existingList = new SafeList <PexExplorableCandidate>(); this.recommendedFactories.Add(typeEx, existingList); } existingList.Add(factory); }