Implemented interface member:
method
IdFor<TResult>
Microsoft.AspNetCore.Mvc.Rendering.IHtmlHelper<TModel>.IdFor<TResult>(System.Linq.Expressions.Expression<System.Func<TModel, TResult>>)
10 references to IdFor
Microsoft.AspNetCore.Mvc.ViewFeatures.Test (10)
Rendering\HtmlHelperNameExtensionsTest.cs (10)
47
var idForResult = helper.
IdFor
(m => m);
79
var idForResult = helper.
IdFor
(m => m);
102
var idForResult = helper.
IdFor
(m => m.Property1);
128
var idForResult = helper.
IdFor
(m => m.Property1);
147
var idForResult = helper.
IdFor
(m => m.Inner.Id);
174
var idForResult = helper.
IdFor
(m => m);
203
var idForResult = helper.
IdFor
(m => m.Property1);
239
var idResult = helper.
IdFor
(model => new { foo = "Bar" });
316
var idResult = helper.
IdFor
(expression);
335
ExceptionAssert.Throws<InvalidOperationException>(() => helper.
IdFor
(m => collection[m]), message);