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);
        }
示例#2
0
        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);
        }