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

CopyPropertiesFrom() public method

Copies the base properties from a source GroupType object
public CopyPropertiesFrom ( GroupType source ) : void
source GroupType The source.
return void
        public void CopyPropertiesFrom( GroupType source )
        {
            this.Id = source.Id;
            this.AllowedScheduleTypes = source.AllowedScheduleTypes;
            this.AllowMultipleLocations = source.AllowMultipleLocations;
            this.AttendanceCountsAsWeekendService = source.AttendanceCountsAsWeekendService;
            this.AttendancePrintTo = source.AttendancePrintTo;
            this.AttendanceRule = source.AttendanceRule;
            this.DefaultGroupRoleId = source.DefaultGroupRoleId;
            this.Description = source.Description;
            this.EnableLocationSchedules = source.EnableLocationSchedules;
            this.ForeignGuid = source.ForeignGuid;
            this.ForeignKey = source.ForeignKey;
            this.GroupAttendanceRequiresLocation = source.GroupAttendanceRequiresLocation;
            this.GroupAttendanceRequiresSchedule = source.GroupAttendanceRequiresSchedule;
            this.GroupCapacityRule = source.GroupCapacityRule;
            this.GroupMemberTerm = source.GroupMemberTerm;
            this.GroupsRequireCampus = source.GroupsRequireCampus;
            this.GroupTerm = source.GroupTerm;
            this.GroupTypePurposeValueId = source.GroupTypePurposeValueId;
            this.IconCssClass = source.IconCssClass;
            this.IgnorePersonInactivated = source.IgnorePersonInactivated;
            this.InheritedGroupTypeId = source.InheritedGroupTypeId;
            this.IsSystem = source.IsSystem;
            this.LocationSelectionMode = source.LocationSelectionMode;
            this.ModifiedAuditValuesAlreadyUpdated = source.ModifiedAuditValuesAlreadyUpdated;
            this.Name = source.Name;
            this.Order = source.Order;
            this.SendAttendanceReminder = source.SendAttendanceReminder;
            this.ShowConnectionStatus = source.ShowConnectionStatus;
            this.ShowInGroupList = source.ShowInGroupList;
            this.ShowInNavigation = source.ShowInNavigation;
            this.TakesAttendance = source.TakesAttendance;
            this.CreatedDateTime = source.CreatedDateTime;
            this.ModifiedDateTime = source.ModifiedDateTime;
            this.CreatedByPersonAliasId = source.CreatedByPersonAliasId;
            this.ModifiedByPersonAliasId = source.ModifiedByPersonAliasId;
            this.Guid = source.Guid;
            this.ForeignId = source.ForeignId;
        }
GroupTypeEntity