public void ChangeTestSettings(TestSettings settings) { this.test.Settings = settings; this.OnTestChange(this, new TestChangedEventArgs(this.test)); RaisePropertyChanged(() => this.Test); }
public object Clone() { var res = new TestSettings(); res.Attemts = this.Attemts; res.MaxMark = this.MaxMark; res.MinMark = this.MinMark; res.MinuteTime = this.MinMark; res.Name = this.Name; res.TeacherName = this.TeacherName; res.Min5 = this.Min5; res.Min4 = this.Min4; res.Min3 = this.Min3; return res; }