Interface INavProvider
- Namespace
- Htmx.Components.NavBar
- Assembly
- Htmx.Components.dll
Provides navigation functionality for building navigation action sets.
public interface INavProvider
- Extension Methods
Remarks
Navigation providers are responsible for building the navigation structure that will be displayed by navigation view components. Different implementations can provide navigation through different mechanisms such as attributes, configuration, or programmatic builders.
Methods
BuildAsync()
Builds the navigation action set for the current request context.
Task<IActionSet> BuildAsync()
Returns
- Task<IActionSet>
A task that represents the asynchronous operation. The task result contains the navigation action set.