public IEnumerable<IInfoClass> Get(string name, string filter = null) { var dynamicTypeManager = new DynamicTypeManager(); var listType = dynamicTypeManager.GetListType(name); if (listType == null) throw new VeyronException(string.Format(CultureInfo.InvariantCulture, "Cannot get List Type {0}", name)); var methodName = string.Format(CultureInfo.InvariantCulture, "Get{0}List", name); //if (!string.IsNullOrWhiteSpace(filter)) //{ // var filterDescriptor = FilterDescriptor.GetFilterList(filter); //} var list = (IInfoList)MethodCaller.CallFactoryMethod(listType, methodName, string.Empty, 0, 10, null, filter ?? FilterDescriptor.GetFilterExpression(null)); if (list == null) throw new VeyronException(string.Format(CultureInfo.InvariantCulture, "Cannot get List for process: {0}", name)); return list.Cast<IInfoClass>().ToList(); }