示例#1
0
        /// <summary>
        /// Add checklist item.
        /// </summary>
        /// <param name="staffChecklist">
        /// The staff checklist.
        /// </param>
        public virtual void AddChecklistItem(StaffChecklistItem staffChecklist)
        {
            staffChecklist.Staff = this;
            _staffChecklist.Add(staffChecklist);

            NotifyItemAdded(() => StaffChecklist, staffChecklist);
        }
示例#2
0
文件: Staff.cs 项目: divyang4481/REM
 /// <summary>
 /// Remove checklist item.
 /// </summary>
 /// <param name="staffChecklistItem">
 /// The staff checklist item.
 /// </param>
 public virtual void RemoveChecklistItem( StaffChecklistItem staffChecklistItem )
 {
     _staffChecklist.Remove ( staffChecklistItem );
     NotifyItemRemoved ( () => StaffChecklist, staffChecklistItem );
 }
示例#3
0
文件: Staff.cs 项目: divyang4481/REM
        /// <summary>
        /// Add checklist item.
        /// </summary>
        /// <param name="staffChecklist">
        /// The staff checklist.
        /// </param>
        public virtual void AddChecklistItem( StaffChecklistItem staffChecklist )
        {
            staffChecklist.Staff = this;
            _staffChecklist.Add ( staffChecklist );

            NotifyItemAdded ( () => StaffChecklist, staffChecklist );
        }
示例#4
0
 /// <summary>
 /// Remove checklist item.
 /// </summary>
 /// <param name="staffChecklistItem">
 /// The staff checklist item.
 /// </param>
 public virtual void RemoveChecklistItem(StaffChecklistItem staffChecklistItem)
 {
     _staffChecklist.Remove(staffChecklistItem);
     NotifyItemRemoved(() => StaffChecklist, staffChecklistItem);
 }