Exemple #1
0
        public T ResultAs <T>(ContentType type = ContentType.JSON) where T : new()
        {
            IDeserializer <T> serializer = TranslatorFactory.GetTranslator <T>(type);

            return(serializer.DeserializeFrom(Content));
        }