Class UnityLeaderboardViewService
Registry of leaderboard views keyed by Id, exposed to the IViewRouter as an
IViewProvider so a menu option (or a ShowLeaderboardSignal) can show one by Id —
mirroring the role UnityCascadeViewService plays for cascade views. No dedicated Business port
for v1: nothing outside this Unity module consumes a leaderboard-view-specific member beyond
IViewProvider/IService, unlike the composite-view registry which also
exposes child-activation.
Inheritance
UnityLeaderboardViewService
Assembly: Serenity.UnityLeaderboard.Infrastructure.dll
Syntax
public sealed class UnityLeaderboardViewService : IService, IFoundationSettings, IViewProvider
Constructors
UnityLeaderboardViewService(string, ILogService)
Declaration
public UnityLeaderboardViewService(string id, ILogService logService)
Parameters
Properties
Guid
Declaration
public string Guid { get; set; }
Property Value
Id
Declaration
public string Id { get; set; }
Property Value
LogService
Declaration
public ILogService LogService { get; set; }
Property Value
Methods
HasView(string)
Declaration
public bool HasView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Returns
HideView(string)
Declaration
public void HideView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Register(string, IViewBase)
Registers a built leaderboard view so it can be shown by its Id.
Declaration
public void Register(string id, IViewBase view)
Parameters
| Type |
Name |
Description |
| string |
id |
The id to register the view under.
|
| IViewBase |
view |
The view to register.
|
ShowView(string)
Declaration
public void ShowView(string viewId)
Parameters
| Type |
Name |
Description |
| string |
viewId |
|
Implements