using System; using Comal.Classes; namespace PRS.Mobile { public class ContactShell : Shell { protected override void ConfigureColumns(ShellColumns columns) { columns .Map(nameof(ID), x => x.ID) .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 Guid ID => Get(); public String Name => Get(); public String Street => Get(); public String City => Get(); public String State => Get(); public String PostCode => Get(); } }