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)
47var idForResult = helper.IdFor(m => m); 79var idForResult = helper.IdFor(m => m); 102var idForResult = helper.IdFor(m => m.Property1); 128var idForResult = helper.IdFor(m => m.Property1); 147var idForResult = helper.IdFor(m => m.Inner.Id); 174var idForResult = helper.IdFor(m => m); 203var idForResult = helper.IdFor(m => m.Property1); 239var idResult = helper.IdFor(model => new { foo = "Bar" }); 316var idResult = helper.IdFor(expression); 335ExceptionAssert.Throws<InvalidOperationException>(() => helper.IdFor(m => collection[m]), message);