コード例 #1
0
 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;
 }
コード例 #2
0
 public ScoreMatchView(ScoreMatchActivity activity)
 {
     ViewModel = new ScoreMatchViewModel(activity, Constants.CurrentProfileId);
     this.InitializeComponent();
 }
コード例 #3
0
 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
     };
 }