Class AchievementSyncProgress
One step of a push, reported through IProgress<AchievementSyncProgress>.
Inherited Members
Namespace: Serenity.Achievements.Application.Sync
Assembly: Serenity.Achievements.Application.dll
Syntax
public sealed class AchievementSyncProgress
Constructors
AchievementSyncProgress(int, int, string, string)
Creates a progress report.
Declaration
public AchievementSyncProgress(int completed, int total, string currentApiName, string stepDescription)
Parameters
| Type | Name | Description |
|---|---|---|
| int | completed | How many achievements have been sent so far. |
| int | total | How many achievements the push covers in total. |
| string | currentApiName | The achievement currently being sent. |
| string | stepDescription | What is happening right now, for a progress bar's label. |
Properties
Completed
Declaration
public int Completed { get; }
Property Value
| Type | Description |
|---|---|
| int | How many achievements have been sent so far. |
CurrentApiName
Declaration
public string CurrentApiName { get; }
Property Value
| Type | Description |
|---|---|
| string | The achievement currently being sent. |
StepDescription
Declaration
public string StepDescription { get; }
Property Value
| Type | Description |
|---|---|
| string | What is happening right now, for a progress bar's label. |
Total
Declaration
public int Total { get; }
Property Value
| Type | Description |
|---|---|
| int | How many achievements the push covers in total. |