Пример #1
0
 public InstaImage PopulateStandardVideoProperties(InstaImage instaImage)
 {
     instaImage.ContentLink = new ContentReference(Convert.ToInt32(1), 0, "instagramprovider");
     instaImage.Created = DateTime.Now.Subtract(new TimeSpan(2, 0, 0, 0));
     instaImage.Changed = instaImage.Created;
     instaImage.IsPendingPublish = false;
     instaImage.StartPublish = DateTime.Now.Subtract(new TimeSpan(1, 0, 0, 0));
     instaImage.Status = VersionStatus.Published;
     instaImage.MakeReadOnly();
     return instaImage;
 }
 public void Add(InstaImage content)
 {
     _items.Add(content);
 }