This change removes the IActionContextAccessor as a dependency of UrlHelper, and shifts UrlHelper to use a factory pattern. Consumers of IUrlHelper should create an instance using the factory when needed. This is the last part of MVC that has a dependency on IActionContext accessor. As part of this change we no longer register it by default, and treat it as an optional component. |
||
|---|---|---|
| .. | ||
| AttributeDictionaryTest.cs | ||
| DefaultDisplayTemplatesTest.cs | ||
| DefaultEditorTemplatesTest.cs | ||
| DefaultHtmlGeneratorTest.cs | ||
| ExpressionMetadataProviderTest.cs | ||
| ModelExplorerExtensionsTest.cs | ||
| ModelExplorerTest.cs | ||
| PartialViewResultExecutorTest.cs | ||
| SaveTempDataFilterTest.cs | ||
| SessionStateTempDataProviderTest.cs | ||
| StringCollectionTextWriterTest.cs | ||
| StringHtmlContentTest.cs | ||
| TempDataDictionaryFactoryTest.cs | ||
| TempDataDictionaryTest.cs | ||
| ViewDataDictionaryOfTModelTest.cs | ||
| ViewDataDictionaryTest.cs | ||
| ViewDataOfTTest.cs | ||
| ViewExecutorTest.cs | ||
| ViewResultExecutorTest.cs | ||