Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        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;
        }