Exemplo n.º 1
0
        public AManPage(AMan m, ObservableCollection <AMan> collection)
        {
            InitializeComponent();
            PageViewModel pvm = new PageViewModel(m);

            BindingContext = pvm;
            oCollection    = collection;
        }
Exemplo n.º 2
0
        public AMan ToAMan()
        {
            AMan am = new AMan
            {
                FirstName = this.FirstName,
                SurName   = this.SurName,
                Age       = this.Age
            };

            return(am);
        }
Exemplo n.º 3
0
 public PageViewModel(AMan man)
 {
     FirstName = man.FirstName;
     SurName   = man.SurName;
     Age       = man.Age;
 }