Контент приложения. См. описание . Раздел "Контент приложения".
コード例 #1
0
ファイル: ApplicationContent.cs プロジェクト: SaintCat/VkBot
        internal static ApplicationContent FromJson(VkResponse response)
        {
            var application = new ApplicationContent();

            application.Id = response["id"];
            application.Name = response["name"];
            application.Photo130 = response["photo_130"];
            application.Photo604 = response["photo_604"];

            return application;
        }
コード例 #2
0
        internal static ApplicationContent FromJson(VkResponse response)
        {
            var application = new ApplicationContent();

            application.Id       = response["id"];
            application.Name     = response["name"];
            application.Photo130 = response["photo_130"];
            application.Photo604 = response["photo_604"];

            return(application);
        }
コード例 #3
0
        /// <summary>
        /// ��������� �� json.
        /// </summary>
        /// <param name="response">����� �������.</param>
        /// <returns></returns>
        public static ApplicationContent FromJson(VkResponse response)
        {
            var application = new ApplicationContent
            {
                Id       = response["id"],
                Name     = response["name"],
                Photo130 = response["photo_130"],
                Photo604 = response["photo_604"]
            };

            return(application);
        }
コード例 #4
0
ファイル: ApplicationContent.cs プロジェクト: vknet/vk
        /// <summary>
        /// Разобрать из json.
        /// </summary>
        /// <param name="response">Ответ сервера.</param>
        /// <returns></returns>
        public static ApplicationContent FromJson(VkResponse response)
        {
            var application = new ApplicationContent
            {
                Id = response["id"],
                Name = response["name"],
                Photo130 = response["photo_130"],
                Photo604 = response["photo_604"]
            };

            return application;
        }