public ImageClipping ConstructClipping(Document sourceDocument, Document outlink, String caption, String context) { var result = new ImageClipping(SemanticsSessionScope.Get.ImageClippingMetaMetadata, this, sourceDocument, outlink, caption, context); this.AddClipping(result); return result; }
public ImageClipping ConstructClipping(Document sourceDocument, Document outlink, String caption, String context) { var result = new ImageClipping(SemanticsSessionScope.Get.ImageClippingMetaMetadata, this, sourceDocument, outlink, caption, context); this.AddClipping(result); return(result); }
public static ImageClipping ConstructClipping(ParsedUri location, Document sourceDoc, IdeaMacheUser creator) { var imageClipping = new ImageClipping { Media = new Image { Location = new MetadataParsedURL(location) }, SourceDoc = sourceDoc, CreativeActs = new List <CreativeAct>(), }; imageClipping.CreativeActs.Add(new CreativeAct { Action = CreativeAct.CreativeAction.CurateClipping, Time = new MetadataDate(DateTime.UtcNow), Creator = creator }); return(imageClipping); }
public static ImageClipping ConstructClipping(ParsedUri location, Document sourceDoc, IdeaMacheUser creator) { var imageClipping = new ImageClipping { Media = new Image { Location = new MetadataParsedURL(location) }, SourceDoc = sourceDoc, CreativeActs = new List<CreativeAct>(), }; imageClipping.CreativeActs.Add(new CreativeAct { Action = CreativeAct.CreativeAction.CurateClipping, Time = new MetadataDate(DateTime.UtcNow), Creator = creator }); return imageClipping; }