Struct AchievementSyncKeyOwner
An achievement whose text a pull is about to file under the keys its local id gives it: a new one the pull creates, or an existing one the pull moves into the string table.
Inherited Members
Namespace: Serenity.Achievements.Application.Sync
Assembly: Serenity.Achievements.Application.dll
Syntax
public readonly struct AchievementSyncKeyOwner
Constructors
AchievementSyncKeyOwner(string, string, bool)
Names an achievement acting in the pull.
Declaration
public AchievementSyncKeyOwner(string apiName, string localId, bool isExistingAchievement)
Parameters
| Type | Name | Description |
|---|---|---|
| string | apiName | The storefront identity the report lines of this achievement belong to. |
| string | localId | The id its keys derive from. |
| bool | isExistingAchievement | Whether the project already holds the achievement under |
Properties
ApiName
Declaration
public string ApiName { get; }
Property Value
| Type | Description |
|---|---|
| string | The storefront identity the report lines of this achievement belong to. |
IsExistingAchievement
Declaration
public bool IsExistingAchievement { get; }
Property Value
| Type | Description |
|---|---|
| bool | Whether the project already holds the achievement under LocalId. |
LocalId
Declaration
public string LocalId { get; }
Property Value
| Type | Description |
|---|---|
| string | The id its keys derive from. |