Пример #1
0
        internal static LastStation ParseJToken(JToken token)
        {
            var s = new LastStation();

            s.Name = token.Value <string>("name");
            s.Url  = new Uri(token.Value <string>("url"), UriKind.Absolute);

            return(s);
        }
Пример #2
0
        internal static LastStation ParseJToken(JToken token)
        {
            var s = new LastStation();

            s.Name = token.Value<string>("name");
            s.Url = new Uri(token.Value<string>("url"), UriKind.Absolute);

            return s;
        }