Simple Client Model for ContentChannel
Exemple #1
0
 /// <summary>
 /// Copies the base properties from a source ContentChannel object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(ContentChannel source)
 {
     this.Id         = source.Id;
     this.ChannelUrl = source.ChannelUrl;
     this.ChildItemsManuallyOrdered = source.ChildItemsManuallyOrdered;
     this.ContentChannelTypeId      = source.ContentChannelTypeId;
     this.ContentControlType        = source.ContentControlType;
     this.Description          = source.Description;
     this.EnableRss            = source.EnableRss;
     this.ForeignGuid          = source.ForeignGuid;
     this.ForeignKey           = source.ForeignKey;
     this.IconCssClass         = source.IconCssClass;
     this.IsIndexEnabled       = source.IsIndexEnabled;
     this.IsStructuredContent  = source.IsStructuredContent;
     this.IsTaggingEnabled     = source.IsTaggingEnabled;
     this.ItemsManuallyOrdered = source.ItemsManuallyOrdered;
     this.ItemTagCategoryId    = source.ItemTagCategoryId;
     this.ItemUrl = source.ItemUrl;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name                         = source.Name;
     this.RequiresApproval             = source.RequiresApproval;
     this.RootImageDirectory           = source.RootImageDirectory;
     this.StructuredContentToolValueId = source.StructuredContentToolValueId;
     this.TimeToLive                   = source.TimeToLive;
     this.CreatedDateTime              = source.CreatedDateTime;
     this.ModifiedDateTime             = source.ModifiedDateTime;
     this.CreatedByPersonAliasId       = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId      = source.ModifiedByPersonAliasId;
     this.Guid                         = source.Guid;
     this.ForeignId                    = source.ForeignId;
 }
 /// <summary>
 /// Copies the base properties from a source ContentChannel object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom(ContentChannel source)
 {
     this.Id                   = source.Id;
     this.ChannelUrl           = source.ChannelUrl;
     this.ContentChannelTypeId = source.ContentChannelTypeId;
     this.ContentControlType   = source.ContentControlType;
     this.Description          = source.Description;
     this.EnableRss            = source.EnableRss;
     this.ForeignGuid          = source.ForeignGuid;
     this.ForeignKey           = source.ForeignKey;
     this.IconCssClass         = source.IconCssClass;
     this.ItemUrl              = source.ItemUrl;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name                    = source.Name;
     this.RequiresApproval        = source.RequiresApproval;
     this.RootImageDirectory      = source.RootImageDirectory;
     this.TimeToLive              = source.TimeToLive;
     this.CreatedDateTime         = source.CreatedDateTime;
     this.ModifiedDateTime        = source.ModifiedDateTime;
     this.CreatedByPersonAliasId  = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid                    = source.Guid;
     this.ForeignId               = source.ForeignId;
 }
Exemple #3
0
 /// <summary>
 /// Copies the base properties from a source ContentChannel object
 /// </summary>
 /// <param name="source">The source.</param>
 public void CopyPropertiesFrom( ContentChannel source )
 {
     this.Id = source.Id;
     this.ChannelUrl = source.ChannelUrl;
     this.ChildItemsManuallyOrdered = source.ChildItemsManuallyOrdered;
     this.ContentChannelTypeId = source.ContentChannelTypeId;
     this.ContentControlType = source.ContentControlType;
     this.Description = source.Description;
     this.EnableRss = source.EnableRss;
     this.ForeignGuid = source.ForeignGuid;
     this.ForeignKey = source.ForeignKey;
     this.IconCssClass = source.IconCssClass;
     this.IsIndexEnabled = source.IsIndexEnabled;
     this.ItemsManuallyOrdered = source.ItemsManuallyOrdered;
     this.ItemUrl = source.ItemUrl;
     this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
     this.Name = source.Name;
     this.RequiresApproval = source.RequiresApproval;
     this.RootImageDirectory = source.RootImageDirectory;
     this.TimeToLive = source.TimeToLive;
     this.CreatedDateTime = source.CreatedDateTime;
     this.ModifiedDateTime = source.ModifiedDateTime;
     this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
     this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
     this.Guid = source.Guid;
     this.ForeignId = source.ForeignId;
 }