public GDMMultimediaLink(GDMObject owner) : base(owner) { SetName(GEDCOMTagType.OBJE); fCutoutPosition = new GDMCutoutPosition(this); fFileReferences = new GDMList <GDMFileReference>(this); fIsPrimary = false; fIsPrimaryCutout = false; fTitle = string.Empty; }
public override void Assign(GDMTag source) { GDMMultimediaLink sourceObj = (source as GDMMultimediaLink); if (sourceObj == null) { throw new ArgumentException(@"Argument is null or wrong type", "source"); } base.Assign(sourceObj); fCutoutPosition = sourceObj.fCutoutPosition; AssignList(sourceObj.fFileReferences, fFileReferences); fIsPrimary = sourceObj.fIsPrimary; fIsPrimaryCutout = sourceObj.fIsPrimaryCutout; fTitle = sourceObj.fTitle; }