Class AchievementSyncApplyAction
One recorded outcome for one field change or creation.
Inherited Members
Namespace: Serenity.Achievements.Application.Sync
Assembly: Serenity.Achievements.Application.dll
Syntax
public sealed class AchievementSyncApplyAction
Constructors
AchievementSyncApplyAction(AchievementSyncApplyOutcome, string, string, AchievementSyncApplyTarget, string)
Creates an apply action record.
Declaration
public AchievementSyncApplyAction(AchievementSyncApplyOutcome outcome, string apiName, string localId, AchievementSyncApplyTarget target, string detail)
Parameters
| Type | Name | Description |
|---|---|---|
| AchievementSyncApplyOutcome | outcome | |
| string | apiName | |
| string | localId | |
| AchievementSyncApplyTarget | target | |
| string | detail |
Properties
ApiName
Declaration
public string ApiName { get; }
Property Value
| Type | Description |
|---|---|
| string | The achievement's platform-side identity key. |
Detail
Declaration
public string Detail { get; }
Property Value
| Type | Description |
|---|---|
| string | A short human-readable description of what changed. |
LocalId
Declaration
public string LocalId { get; }
Property Value
| Type | Description |
|---|---|
| string | The Serenity achievement id, or empty for a row that did not exist locally yet. |
Outcome
Declaration
public AchievementSyncApplyOutcome Outcome { get; }
Property Value
| Type | Description |
|---|---|
| AchievementSyncApplyOutcome | What this action resolved to. |
Subject
Declaration
public string Subject { get; }
Property Value
| Type | Description |
|---|---|
| string | What this action is about, for display: |
Target
Declaration
public AchievementSyncApplyTarget Target { get; }
Property Value
| Type | Description |
|---|---|
| AchievementSyncApplyTarget | What kind of project data this action wrote, or would write, to. |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string |