Class ShowLeaderboardSignal
Dispatched to show a leaderboard view (or any other view registered with the IViewRouter) by its Id.
Namespace: Serenity.Leaderboard.Application.Events
Assembly: Serenity.Leaderboard.Application.dll
Syntax
public class ShowLeaderboardSignal : EventDispatcherSignal
Constructors
ShowLeaderboardSignal()
Initializes a new instance of the ShowLeaderboardSignal class.
Declaration
public ShowLeaderboardSignal()
ShowLeaderboardSignal(string)
Initializes a new instance of the ShowLeaderboardSignal class.
Declaration
public ShowLeaderboardSignal(string viewId)
Parameters
| Type | Name | Description |
|---|---|---|
| string | viewId | The id of the view to show. |
Fields
ViewId
Declaration
public readonly string ViewId
Field Value
| Type | Description |
|---|---|
| string | The id of the view to show. |
Methods
ToString()
Returns a string representation of the event.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |