44 references to SelectedCategory
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (44)
ExpressionHelperTest.cs (44)
28(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory),
32(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName),
36(Expression<Func<TestModel, int>>)(testModel => testModel.SelectedCategory.CategoryId),
44(Expression<Func<TestModel, string>>)(model => model.SelectedCategory.CategoryName.MainCategory),
56(Expression<Func<TestModel, int>>)(model => models[0].SelectedCategory.CategoryId),
68(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory),
72(Expression<Func<IList<TestModel>, Category>>)(model => model[i].SelectedCategory),
80(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory),
88(Expression<Func<IList<TestModel>, Category>>)(model => myModels[i].SelectedCategory),
112(Expression<Func<IList<TestModel>, int>>)(model => model.FirstOrDefault().SelectedCategory.CategoryId),
116(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().SelectedCategory.CategoryName.MainCategory),
174data.Add((Expression<Func<TestModel, Category>>)(m => Model.SelectedCategory), "SelectedCategory");
190(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory),
191(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName),
192(Expression<Func<TestModel, int>>)(testModel => testModel.SelectedCategory.CategoryId),
193(Expression<Func<TestModel, string>>)(model => model.SelectedCategory.CategoryName.MainCategory),
196(Expression<Func<TestModel, Category>>)(m => myModel.SelectedCategory),
211(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory),
212(Expression<Func<IList<TestModel>, Category>>)(model => myModels[i].SelectedCategory),
213(Expression<Func<IList<TestModel>, CategoryName>>)(testModel => testModel[i].SelectedCategory.CategoryName),
215(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory),
236(Expression<Func<IList<TestModel>, string>>)(model => model.FirstOrDefault().SelectedCategory.CategoryName.MainCategory),
252(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory),
253(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory)
256(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName),
257(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName)
260(Expression<Func<TestModel, int>>)(testModel => testModel.SelectedCategory.CategoryId),
261(Expression<Func<TestModel, int>>)(testModel => testModel.SelectedCategory.CategoryId)
264(Expression<Func<TestModel, string>>)(model => model.SelectedCategory.CategoryName.MainCategory),
265(Expression<Func<TestModel, string>>)(model => model.SelectedCategory.CategoryName.MainCategory)
298(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory),
299(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName)
302(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName),
318(Expression<Func<TestModel, CategoryName>>)(model => model.SelectedCategory.CategoryName),
322(Expression<Func<TestModel, string>>)(testModel => testModel.SelectedCategory.CategoryName.MainCategory),
326(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory),
327(Expression<Func<TestModel, string>>)(model => model.SelectedCategory.CategoryName.MainCategory)
330(Expression<Func<IList<TestModel>, Category>>)(model => model[2].SelectedCategory),
334(Expression<Func<TestModel, int>>)(testModel => testModel.SelectedCategory.CategoryId),
335(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory)
338(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory),
339(Expression<Func<TestModel, Category>>)(model => model.SelectedCategory)
342(Expression<Func<IDictionary<string, TestModel>, string>>)(model => model[key].SelectedCategory.CategoryName.MainCategory),
448(Expression<Func<List<TestModel>, int>>)(m => collection[i].SelectedCategory.CategoryId),