| 1234567891011121314151617181920212223242526 |
- using System;
- using Comal.Classes;
- using InABox.Mobile;
- namespace PRS.Mobile
- {
- public class ContactShell : Shell<ContactModel, Contact>
- {
- protected override void ConfigureColumns(ShellColumns<ContactModel, Contact> columns)
- {
- columns
- .Map(nameof(Name), x => x.Name)
- .Map(nameof(Street), x => x.Address.Street)
- .Map(nameof(City), x => x.Address.City)
- .Map(nameof(State), x => x.Address.State)
- .Map(nameof(PostCode), x => x.Address.PostCode);
- }
-
- public String Name => Get<String>();
- public String Street => Get<String>();
- public String City => Get<String>();
- public String State => Get<String>();
- public String PostCode => Get<String>();
-
- }
- }
|