This change adds the concept of a full-name to viewcomponents. View components can be invoked using either the short name or long name. If the provided string contains a '.' character, then it will be compared against full names, otherwise it will be matched against short names only. The short name is used for view lookups. If the name is explicitly set via ViewComponent attribute, then the full name is the name provided. The short name is the portion of the name after the last '.'. If there are no dots, then the short name and full name are the same. If the name is not set explicitly, then it is inferred from the Type and namespace name. The short name is the Type name, minus the 'ViewComponent' suffix (if present). The full name is the namespace of the defining class, plus the short name. |
||
|---|---|---|
| .. | ||
| compiler/resources | ||
| ActivatorTests.cs | ||
| AntiForgeryTestHelper.cs | ||
| AntiForgeryTests.cs | ||
| ApiExplorerTest.cs | ||
| ApplicationModelTest.cs | ||
| BasicTests.cs | ||
| CompositeViewEngineTests.cs | ||
| ConnegTests.cs | ||
| CustomUrlHelperTests.cs | ||
| DefaultOrderTest.cs | ||
| DependencyResolverTests.cs | ||
| DirectivesTest.cs | ||
| FileResultTests.cs | ||
| FiltersTest.cs | ||
| FlushPointTest.cs | ||
| InlineConstraintTests.cs | ||
| InputFormatterTests.cs | ||
| InputObjectValidationTests.cs | ||
| JsonOutputFormatterTests.cs | ||
| LinkGenerationTests.cs | ||
| Microsoft.AspNet.Mvc.FunctionalTests.kproj | ||
| ModelBindingTests.cs | ||
| MvcSampleTests.cs | ||
| MvcStartupTests.cs | ||
| NullLoggerFactory.cs | ||
| OutputFormattterTests.cs | ||
| RazorInstrumentationTests.cs | ||
| ResourceHelpers.cs | ||
| RoundTripTests.cs | ||
| RoutingTests.cs | ||
| TagHelpersTest.cs | ||
| TestApplicationEnvironment.cs | ||
| TestAssemblyProvider.cs | ||
| TestConfigurationProvider.cs | ||
| TestHelper.cs | ||
| ValueProviderTests.cs | ||
| VersioningTests.cs | ||
| ViewComponentTests.cs | ||
| ViewEngineTests.cs | ||
| WebApiCompatShimActionResultTest.cs | ||
| WebApiCompatShimActionSelectionTest.cs | ||
| WebApiCompatShimBasicTest.cs | ||
| WebApiCompatShimParameterBindingTest.cs | ||
| XmlOutputFormatterTests.cs | ||
| XmlSerializerInputFormatterTests.cs | ||
| project.json | ||