examples/razorwire-mvc/ViewComponents/UserListViewComponent.cs
UserListViewComponent
Type
UserListViewComponent
A view component that renders a list of active users, optionally recording the current user's activity.
Method
Invoke(IEnumerable<UserPresenceInfo>?)
Renders a view displaying the current active users.
If a non-empty "razorwire-username" cookie is present on the request, the user's activity is recorded via the presence service before rendering.