23 references to Eval
Microsoft.AspNetCore.Mvc.ViewFeatures (6)
DefaultHtmlGenerator.cs (4)
918
rawValue = viewContext.ViewData.
Eval
(expression);
1410
return Convert.ToBoolean(viewContext.ViewData.
Eval
(key), CultureInfo.InvariantCulture);
1415
return Convert.ToString(viewContext.ViewData.
Eval
(key), CultureInfo.CurrentCulture);
1494
var value = viewContext.ViewData.
Eval
(expression);
IHtmlGenerator.cs (1)
566
/// <paramref name="expression"/> result using <see cref="ViewDataDictionary.
Eval
(string)"/>.
ViewDataDictionary.cs (1)
383
var value =
Eval
(expression);
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (17)
ViewDataDictionaryTest.cs (17)
492
var result = viewData.
Eval
(expression);
506
var result = viewData.
Eval
("Foo.Bar");
521
var result = viewData.
Eval
("Foo");
535
var result = viewData.
Eval
("Foo");
549
var result = viewData.
Eval
("Foo.Bar");
563
var result = viewData.
Eval
("Foo.Bar");
577
var result = viewData.
Eval
("Foo.Bar.Baz");
591
var result = viewData.
Eval
("Foo.Bar.Baz.Blah");
609
var result = viewData.
Eval
("Foo.Bar");
627
var result = viewData.
Eval
("Foo.Bar.Baz");
645
var result = viewData.
Eval
("Foo.Bar.Baz");
662
var result = viewData.
Eval
(expression);
676
var result = viewData.
Eval
("Foo.Bar");
690
var result = viewData.
Eval
("Foo.Bar");
711
var result = viewData.
Eval
("Foo.Bar.Baz");
773
var result = viewData.
Eval
("Model");
794
var result = viewData.
Eval
("Value");