예제 #1
0
        public static Type FindService(Type type)
        {
            var key = $"{type.FullName}, {type.Assembly.FullName}";

            if (_dumpServices.ContainsKey(key) == true)
            {
                return(_dumpServices[key]);
            }

            var service = DumpUtil.CreateService(type);

            _dumpServices.Add(key, service);
            return(service);
        }