private string ToString(object request, string propName) { Type ty = request.GetType(); PropertyInfo pi = ty.GetRuntimeProperty(propName); return(_json.SerializeValue(pi.GetValue(request))); }
private string ToString(object request, string propName) { Type ty = request.GetType(); PropertyInfo pi = ty.GetRuntimeProperty(propName); return(_json.SerializeValue(pi.GetValue(request))); }