Beispiel #1
0
        private string ToString(object request, string propName)
        {
            Type         ty = request.GetType();
            PropertyInfo pi = ty.GetRuntimeProperty(propName);

            return(_json.SerializeValue(pi.GetValue(request)));
        }