質問編集履歴
2
test2のReactiveCollectionのクラス変更
title
CHANGED
File without changes
|
body
CHANGED
@@ -55,7 +55,7 @@
|
|
55
55
|
|
56
56
|
class MainWindowViewModel
|
57
57
|
{
|
58
|
-
public ReactiveCollection<
|
58
|
+
public ReactiveCollection<Test2> test2 { get; } = new ReactiveCollection<Test2>();
|
59
59
|
|
60
60
|
private MainWindowModel model { get; } = new MainWindowModel();
|
61
61
|
|
1
フィルタの式が間違ってたので修正しました。
title
CHANGED
File without changes
|
body
CHANGED
@@ -64,8 +64,8 @@
|
|
64
64
|
model.getTestData();
|
65
65
|
|
66
66
|
// フィルター
|
67
|
-
var list = model.data.Where(x => x.
|
67
|
+
var list = model.data.Where(x => x.A.Date > DateTime.Today.AddMonths(-2))
|
68
|
-
.OrderBy(x => x.
|
68
|
+
.OrderBy(x => x.A);
|
69
69
|
}
|
70
70
|
}
|
71
71
|
|