private void Join_Callback(object parameter = null) { var view = new Views.JoinGameSummary(); var vm = view.BindingContext as vmJoinGameSummary; vm.Player = new Guest() { Name = Name, EndPoint = new IPEndPoint(IpAddress, Port) }; ShowPage(view); }
private void Join_Callback(object parameter = null) { var view = new Views.JoinGameSummary(); var vm = view.DataContext as vmJoinGameSummary; vm.Previously = this; vm.Player = new PlayerInformation() { Name = Name, EndPoint = new IPEndPoint(IpAddress, Port) }; vm.SetupCommunications(); ShowContent(view); }