Esempio n. 1
0
 public void UpdateOEmbedInfo(OEmbedInfo oEmbed)
 {
     this.Update(new StockPhotoOEmbedInfoUpdated
     {
         OEmbed = oEmbed
     });
 }
Esempio n. 2
0
 public void ReplacePhoto(int indexOfPhoto, Guid newStockPhotoId, string newPageUrl, OEmbedInfo oEmbed)
 {
     this.Update(new DrawingSessionPhotoReplaced
     {
         IndexOfPhoto = indexOfPhoto,
         NewStockPhotoId = newStockPhotoId,
         NewPageUrl = newPageUrl,
         OEmbed = oEmbed,
     });
 }
Esempio n. 3
0
 public void AddPhoto(Guid stockPhotoId, string pageUrl, OEmbedInfo oEmbed, TimeSpan duration)
 {
     this.Update(new DrawingSessionPhotoAdded
     {
         StockPhotoId = stockPhotoId,
         PageUrl = pageUrl,
         OEmbed = oEmbed,
         Duration = duration,
         Index = photoCount,
     });
 }