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); }