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

CopyPropertiesFrom() public method

Copies the base properties from a source BinaryFileType object
public CopyPropertiesFrom ( BinaryFileType source ) : void
source BinaryFileType The source.
return void
        public void CopyPropertiesFrom( BinaryFileType source )
        {
            this.Id = source.Id;
            this.AllowCaching = source.AllowCaching;
            this.Description = source.Description;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.IconCssClass = source.IconCssClass;
            this.IsSystem = source.IsSystem;
            this.MaxHeight = source.MaxHeight;
            this.MaxWidth = source.MaxWidth;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.PreferredColorDepth = source.PreferredColorDepth;
            this.PreferredFormat = source.PreferredFormat;
            this.PreferredRequired = source.PreferredRequired;
            this.PreferredResolution = source.PreferredResolution;
            this.RequiresViewSecurity = source.RequiresViewSecurity;
            this.StorageEntityTypeId = source.StorageEntityTypeId;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
BinaryFileTypeEntity