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

CopyPropertiesFrom() public method

Copies the base properties from a source GroupTypeRole object
public CopyPropertiesFrom ( GroupTypeRole source ) : void
source GroupTypeRole The source.
return void
        public void CopyPropertiesFrom( GroupTypeRole source )
        {
            this.Id = source.Id;
            this.CanEdit = source.CanEdit;
            this.CanView = source.CanView;
            this.Description = source.Description;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.GroupTypeId = source.GroupTypeId;
            this.IsLeader = source.IsLeader;
            this.IsSystem = source.IsSystem;
            this.MaxCount = source.MaxCount;
            this.MinCount = source.MinCount;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.Order = source.Order;
            this.ReceiveRequirementsNotifications = source.ReceiveRequirementsNotifications;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
GroupTypeRoleEntity