public void Populate(ScoreMatchViewModel viewModel) { viewModel.WastedLP = WastedLP; viewModel.Difficulty = Difficulty; viewModel.Rank = Rank; viewModel.Position = Position; viewModel.Goalpts = Goalpts; viewModel.Nowpts = Nowpts; viewModel.NowLP = NowLP; viewModel.NowLevel = NowLevel; viewModel.NowExp = NowExp; }
public ScoreMatchView(ScoreMatchActivity activity) { ViewModel = new ScoreMatchViewModel(activity, Constants.CurrentProfileId); this.InitializeComponent(); }
public static InputPersistModel From(ScoreMatchViewModel source) { return new InputPersistModel { PersistTime = DateTime.UtcNow, WastedLP = source.WastedLP, Difficulty = source.Difficulty, Rank = source.Rank, Position = source.Position, Goalpts = source.Goalpts, Nowpts = source.Nowpts, NowLP = source.NowLP, NowLevel = source.NowLevel, NowExp = source.NowExp }; }