private void ReadPropertiesFromBodyContent(HttpRequestBase request, Dictionary<string, string> actualProps) { var body = GetRequestBody(request); if (!string.IsNullOrEmpty(body)) { var bodyReader = new BodyReader(); bodyReader.ReadBody(body, actualProps); } }
private IList <RouteValue> ReadPropertiesFromBodyContent(BodyFormat bodyFormat) { var bodyTask = request.Content.ReadAsStringAsync(); var body = bodyTask.Result; var bodyReader = new BodyReader(); return(bodyReader.ReadBody(body, bodyFormat)); }
private void ReadPropertiesFromBodyContent(Dictionary <string, string> actualProps) { var bodyTask = request.Content.ReadAsStringAsync(); var body = bodyTask.Result; if (!string.IsNullOrEmpty(body)) { var bodyReader = new BodyReader(); bodyReader.ReadBody(body, actualProps); } }
private void ReadPropertiesFromBodyContent(Dictionary<string, string> actualProps) { var bodyTask = request.Content.ReadAsStringAsync(); var body = bodyTask.Result; if (!string.IsNullOrEmpty(body)) { var bodyReader = new BodyReader(); bodyReader.ReadBody(body, actualProps); } }
private IList<RouteValue> ReadPropertiesFromBodyContent(HttpRequestBase request, BodyFormat bodyFormat) { var body = GetRequestBody(request); var bodyReader = new BodyReader(); return bodyReader.ReadBody(body, bodyFormat); }