23 references to GetKey
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (23)
MemberExpressionCacheKeyComparerTest.cs (23)
16
var key =
GetKey
(m => m.Value);
26
var key1 =
GetKey
(m => m.Value);
27
var key2 =
GetKey
(m => m.Value);
37
var key1 =
GetKey
(m => m.TestModel2.Name);
38
var key2 =
GetKey
(m => m.TestModel2.Name);
48
var key1 =
GetKey
(m => m.NullableDateTime.Value.TimeOfDay);
49
var key2 =
GetKey
(m => m.NullableDateTime.Value.TimeOfDay);
59
var key1 =
GetKey
(m => m.DateTime.Year);
60
var key2 =
GetKey
(m => m.DateTime.Year);
70
var key1 =
GetKey
(m => m.Value);
71
var key2 =
GetKey
(m => m.TestModel2.Name);
81
var key1 =
GetKey
(m => m.TestModel2.Id);
82
var key2 =
GetKey
(m => m.TestModel2.Name);
92
var key1 =
GetKey
(m => m.DateTime.Ticks);
93
var key2 =
GetKey
(m => m.DateTime.Year);
103
var key1 =
GetKey
(m => m.DateTime.Ticks);
104
var key2 =
GetKey
(m => m.NullableDateTime.Value.Ticks);
114
var key1 =
GetKey
(m => m.TestModel2);
115
var key2 =
GetKey
(m => m.TestModel2.Name);
125
var key1 =
GetKey
(m => m.NullableDateTime.Value.Year);
126
var key2 =
GetKey
(m => m.DateTime.Year);
137
var key2 =
GetKey
(m => m.TestModel2.Id);
148
var key1 =
GetKey
(m => testModel.Id);