Заметка пользователя. См. описание .
Inheritance: MediaAttachment
Ejemplo n.º 1
0
        internal static Note FromJson(VkResponse response)
        {
            // TODO: TEST IT!!!!!
            var note = new Note();

            note.Id = response["id"];
            note.OwnerId = response["owner_id"];
            note.Title = response["title"];
            note.Text = response["text"];
            note.Date = response["date"];
            note.CommentsCount = response["comments"];
            note.ReadCommentsCount = response["read_comments"];

            return note;
        }
Ejemplo n.º 2
0
Archivo: Note.cs Proyecto: kadkin/vk
		internal static Note FromJson(VkResponse response)
		{
			var note = new Note
			{
				Id = response["id"],
				OwnerId = response["user_id"],
				Title = response["title"],
				Text = response["text"],
				Date = response["date"],
				CommentsCount = response["comments"],
				ReadCommentsCount = response["read_comments"],
				ViewUrl = response["view_url"]
			};

			return note;
		}