public RankRequirementViewModel(RankListRequirementViewModel viewModel, RankRequirementModel requirement) : this(viewModel) { this.SelectedRankSystem = requirement.RankSystem; this.SelectedRank = requirement.RequiredRank; this.SelectedMatchType = requirement.MatchType; }
public RankRequirementViewModel(RankListRequirementViewModel viewModel) { this.viewModel = viewModel; this.DeleteCommand = this.CreateCommand(() => { this.viewModel.Delete(this); }); }
public RankRequirementViewModel(RankListRequirementViewModel viewModel) { this.viewModel = viewModel; this.DeleteCommand = this.CreateCommand((parameter) => { this.viewModel.Delete(this); return(Task.FromResult(0)); }); }