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

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

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

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

            _participants.Value.Add(participant);
        }