Ejemplo n.º 1
0
 public object Read(Type type)
 {
     return(_request.GetMethod() == HttpMethod.Post || _request.GetMethod() == HttpMethod.Put ?
            Deserialize(type, _streaming.Input) : Activator.CreateInstance(type));
 }