Время последнего посещения.
Exemplo n.º 1
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static LastSeen FromJson(VkResponse response)
        {
            var giftItem = new LastSeen
            {
                Time = response["time"],
                Platform = response["platform"]
            };

            return giftItem;
        }
Exemplo n.º 2
0
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        internal static LastSeen FromJson(VkResponse response)
        {
            var giftItem = new LastSeen
            {
                Time     = response["time"],
                Platform = response["platform"]
            };

            return(giftItem);
        }
Exemplo n.º 3
0
Arquivo: LastSeen.cs Projeto: vknet/vk
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static LastSeen FromJson(VkResponse response)
        {
            var giftItem = new LastSeen
            {
                Time = response["time"],
                Platform = response["platform"]
            };

            return giftItem;
        }