private static IEnumerable <ParamInfo> GetData(object obj) { ITypeFetch typeFetch = UtilContainer.Resolve <ITypeFetch>(); var paramInfos = typeFetch.GetParamInfos(obj, obj.GetType()); SetParamTypeName(paramInfos); return(paramInfos); }
public Type FetchType(string typeName) { Type type; if (this.TryGetValue(typeName, out type)) { return(type); } ITypeFetch typeFetch = Util.UtilContainer.Resolve <ITypeFetch>(); type = typeFetch.FetchType(typeName); this.Add(typeName, type); return(type); }