예제 #1
0
파일: StockPhoto.cs 프로젝트: Costo/sketch
 public void UpdateOEmbedInfo(OEmbedInfo oEmbed)
 {
     this.Update(new StockPhotoOEmbedInfoUpdated
     {
         OEmbed = oEmbed
     });
 }
예제 #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,
     });
 }
예제 #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,
     });
 }