Creates a view component.
Namespace: SimpleInjector.Integration.AspNetCore.Mvc
Assembly: SimpleInjector.Integration.AspNetCore.Mvc.Core (in SimpleInjector.Integration.AspNetCore.Mvc.Core.dll) Version: 4.10.3
Syntax
Parameters
- context
- Type: ViewComponentContext
The ViewComponentContext for the executing ViewComponent.
Return Value
Type: ObjectA view component instance.
See Also