public VkPhotoAttachment(VkPhoto photo)
 {
     this.Id          = photo.Pid;
     this.OwnerId     = photo.OwnerId;
     this.Source      = photo.Src;
     this.SourceBig   = photo.SrcBig;
     this.SourceSmall = photo.SrcSmall;
     this.Date        = photo.Created;
 }
示例#2
0
 public VkPhotoAttachment(VkPhoto photo)
 {
     this.Id           = photo.Id;
     this.OwnerId      = photo.OwnerId;
     this.Source       = photo.Photo130;
     this.SourceBig    = photo.Photo604;
     this.SourceSmall  = photo.Photo75;
     this.SourceXBig   = photo.Photo807;
     this.SourceXXBig  = photo.Photo1280;
     this.SourceXXXBig = photo.Photo2560;
     this.Date         = photo.Created;
     this.Width        = photo.Width;
     this.Height       = photo.Height;
 }
示例#3
0
 public Photo(VkPhoto vkPhoto)
 {
     PhotoUrl = vkPhoto.PhotoUrl;
 }