MeetingItemShell.cs 724 B

12345678910111213141516171819202122232425
  1. using System;
  2. using Comal.Classes;
  3. using InABox.Mobile;
  4. namespace PRS.Mobile
  5. {
  6. public class MeetingItemShell : Shell<MeetingItemModel, MeetingItem>
  7. {
  8. protected override void ConfigureColumns(ShellColumns<MeetingItemModel, MeetingItem> columns)
  9. {
  10. columns
  11. .Map(nameof(ParentID), x => x.Parent.ID)
  12. .Map(nameof(Title), x => x.Title)
  13. .Map(nameof(Notes), x => x.Notes)
  14. .Map(nameof(Minutes), x => x.Minutes)
  15. ;
  16. }
  17. public Guid ParentID => Get<Guid>();
  18. public String Title => Get<String>();
  19. public String Notes => Get<String>();
  20. public String Minutes => Get<String>();
  21. }
  22. }