Simple Client Model for Site
Beispiel #1
0
 /// <summary>
 /// Copies the base properties from a source Site object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Site source )
 {
     this.Id = source.Id;
     this.AllowedFrameDomains = source.AllowedFrameDomains;
     this.AllowIndexing = source.AllowIndexing;
     this.ChangePasswordPageId = source.ChangePasswordPageId;
     this.ChangePasswordPageRouteId = source.ChangePasswordPageRouteId;
     this.CommunicationPageId = source.CommunicationPageId;
     this.CommunicationPageRouteId = source.CommunicationPageRouteId;
     this.DefaultPageId = source.DefaultPageId;
     this.DefaultPageRouteId = source.DefaultPageRouteId;
     this.Description = source.Description;
     this.EnableMobileRedirect = source.EnableMobileRedirect;
     this.EnablePageViews = source.EnablePageViews;
     this.ErrorPage = source.ErrorPage;
     this.ExternalUrl = source.ExternalUrl;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.GoogleAnalyticsCode = source.GoogleAnalyticsCode;
     this.IndexStartingLocation = source.IndexStartingLocation;
     this.IsIndexEnabled = source.IsIndexEnabled;
     this.IsSystem = source.IsSystem;
     this.LoginPageId = source.LoginPageId;
     this.LoginPageRouteId = source.LoginPageRouteId;
     this.MobilePageId = source.MobilePageId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.PageHeaderContent = source.PageHeaderContent;
     this.PageNotFoundPageId = source.PageNotFoundPageId;
     this.PageNotFoundPageRouteId = source.PageNotFoundPageRouteId;
     this.PageViewRetentionPeriodDays = source.PageViewRetentionPeriodDays;
     this.RedirectTablets = source.RedirectTablets;
     this.RegistrationPageId = source.RegistrationPageId;
     this.RegistrationPageRouteId = source.RegistrationPageRouteId;
     this.RequiresEncryption = source.RequiresEncryption;
     this.Theme = source.Theme;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }
Beispiel #2
0
 /// <summary>
 /// Copies the base properties from a source Site object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Site source )
 {
     this.Id = source.Id;
     this.CommunicationPageId = source.CommunicationPageId;
     this.CommunicationPageRouteId = source.CommunicationPageRouteId;
     this.DefaultPageId = source.DefaultPageId;
     this.DefaultPageRouteId = source.DefaultPageRouteId;
     this.Description = source.Description;
     this.EnableMobileRedirect = source.EnableMobileRedirect;
     this.ErrorPage = source.ErrorPage;
     this.ExternalUrl = source.ExternalUrl;
     this.GoogleAnalyticsCode = source.GoogleAnalyticsCode;
     this.IsSystem = source.IsSystem;
     this.LoginPageId = source.LoginPageId;
     this.LoginPageRouteId = source.LoginPageRouteId;
     this.MobilePageId = source.MobilePageId;
     this.Name = source.Name;
     this.PageNotFoundPageId = source.PageNotFoundPageId;
     this.PageNotFoundPageRouteId = source.PageNotFoundPageRouteId;
     this.RedirectTablets = source.RedirectTablets;
     this.RegistrationPageId = source.RegistrationPageId;
     this.RegistrationPageRouteId = source.RegistrationPageRouteId;
     this.Theme = source.Theme;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }