Rock.Client.PageEntity.CopyPropertiesFrom C# (CSharp) Method

CopyPropertiesFrom() public method

Copies the base properties from a source Page object
public CopyPropertiesFrom ( Page source ) : void
source Page The source.
return void
        public void CopyPropertiesFrom( Page source )
        {
            this.Id = source.Id;
            this.AllowIndexing = source.AllowIndexing;
            this.BodyCssClass = source.BodyCssClass;
            this.BreadCrumbDisplayIcon = source.BreadCrumbDisplayIcon;
            this.BreadCrumbDisplayName = source.BreadCrumbDisplayName;
            this.BrowserTitle = source.BrowserTitle;
            this.Description = source.Description;
            this.DisplayInNavWhen = source.DisplayInNavWhen;
            this.EnableViewState = source.EnableViewState;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.HeaderContent = source.HeaderContent;
            this.IconCssClass = source.IconCssClass;
            this.IncludeAdminFooter = source.IncludeAdminFooter;
            this.InternalName = source.InternalName;
            this.IsSystem = source.IsSystem;
            this.KeyWords = source.KeyWords;
            this.LayoutId = source.LayoutId;
            this.MenuDisplayChildPages = source.MenuDisplayChildPages;
            this.MenuDisplayDescription = source.MenuDisplayDescription;
            this.MenuDisplayIcon = source.MenuDisplayIcon;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Order = source.Order;
            this.OutputCacheDuration = source.OutputCacheDuration;
            this.PageDisplayBreadCrumb = source.PageDisplayBreadCrumb;
            this.PageDisplayDescription = source.PageDisplayDescription;
            this.PageDisplayIcon = source.PageDisplayIcon;
            this.PageDisplayTitle = source.PageDisplayTitle;
            this.PageTitle = source.PageTitle;
            this.ParentPageId = source.ParentPageId;
            this.RequiresEncryption = source.RequiresEncryption;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }