Ejemplo n.º 1
0
 public void UpdateOEmbedInfo(OEmbedInfo oEmbed)
 {
     this.Update(new StockPhotoOEmbedInfoUpdated
     {
         OEmbed = oEmbed
     });
 }
Ejemplo 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,
     });
 }
Ejemplo 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,
     });
 }