Exemple #1
0
        internal MeetingAggregator(Meeting meeting)
        {
            Assertion.Require(meeting, "meeting");

            this.meeting  = meeting;
            _participants = new Lazy <List <Contact> >(() => MeetingData.GetMeetingParticipants(this.meeting));
        }
Exemple #2
0
        protected override void OnSave()
        {
            if (this.IsNew)
            {
                this.ControlNo = MeetingData.GetNextMeetingControlNo(this.Project);
            }

            MeetingData.WriteMeeting(this);
        }
Exemple #3
0
 static public FixedList <Meeting> Search(string keywords)
 {
     return(MeetingData.SearchMeetings(keywords));
 }
Exemple #4
0
 static public FixedList <Meeting> GetOpened(string keywords)
 {
     return(MeetingData.GetOpenedMeetings(keywords));
 }
Exemple #5
0
        internal void RemoveParticipant(Contact participant)
        {
            MeetingData.RemoveParticipant(this.meeting, participant);

            _participants.Value.Remove(participant);
        }
Exemple #6
0
        internal void AddParticipant(Contact participant)
        {
            MeetingData.AddParticipant(this.meeting, participant);

            _participants.Value.Add(participant);
        }