public void EditGeneralAttributes(string name, string description, MeetingGroupLocation location)
        {
            this._name        = name;
            this._description = description;
            this._location    = location;

            this.AddDomainEvent(new MeetingGroupGeneralAttributesEditedDomainEvent(this._name, this._description, this._location));
        }
 internal static MeetingGroup CreateBasedOnProposal(
     MeetingGroupProposalId meetingGroupProposalId,
     string name,
     string description,
     MeetingGroupLocation location, MemberId creatorId)
 {
     return(new MeetingGroup(meetingGroupProposalId, name, description, location, creatorId));
 }
        private MeetingGroup(MeetingGroupProposalId meetingGroupProposalId, string name, string description, MeetingGroupLocation location, MemberId creatorId)
        {
            this.Id           = new MeetingGroupId(meetingGroupProposalId.Value);
            this._name        = name;
            this._description = description;
            this._creatorId   = creatorId;
            this._location    = location;
            this._createDate  = SystemClock.Now;

            this.AddDomainEvent(new MeetingGroupCreatedDomainEvent(this.Id, creatorId));

            this._members = new List <MeetingGroupMember>();
            this._members.Add(MeetingGroupMember.CreateNew(this.Id, this._creatorId, MeetingGroupMemberRole.Organizer));
        }