Simple Client Model for Block
Beispiel #1
0
 /// <summary>
 /// Copies the base properties from a source Block object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Block source )
 {
     this.Id = source.Id;
     this.BlockTypeId = source.BlockTypeId;
     this.CssClass = source.CssClass;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IsSystem = source.IsSystem;
     this.LayoutId = source.LayoutId;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.Order = source.Order;
     this.OutputCacheDuration = source.OutputCacheDuration;
     this.PageId = source.PageId;
     this.PostHtml = source.PostHtml;
     this.PreHtml = source.PreHtml;
     this.Zone = source.Zone;
     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 Block object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( Block source )
 {
     this.Id = source.Id;
     this.BlockTypeId = source.BlockTypeId;
     this.CssClass = source.CssClass;
     this.IsSystem = source.IsSystem;
     this.LayoutId = source.LayoutId;
     this.Name = source.Name;
     this.Order = source.Order;
     this.OutputCacheDuration = source.OutputCacheDuration;
     this.PageId = source.PageId;
     this.PostHtml = source.PostHtml;
     this.PreHtml = source.PreHtml;
     this.Zone = source.Zone;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }