Example #1
0
        public virtual void Patch(DynamicContentPlaceEntity target)
        {
            if (target == null)
            {
                throw new ArgumentNullException(nameof(target));
            }

            target.Name        = Name;
            target.Description = Description;
            target.FolderId    = FolderId;
            target.ImageUrl    = ImageUrl;
        }
        public virtual void Patch(DynamicContentPlaceEntity target)
        {
            if (target == null)
            {
                throw new NullReferenceException(nameof(target));
            }

            target.Name        = this.Name;
            target.Description = this.Description;
            target.FolderId    = this.FolderId;
            target.ImageUrl    = this.ImageUrl;
        }