Class SystemAdoptionPlanDrift
What changed between the adoption plan an author was shown and the plan the same roots produce now — the difference a staged Adopt must refuse over instead of running a plan nobody read. Pure: it compares two SystemAdoptionPlans entry by entry and never touches the project, so the caller decides when "now" is (the moment the author confirms). Each change names the asset path the author has to look at. The comparison is structural — source and destination identities, membership and exclusions — not a content snapshot: a package asset edited in place under the same identity is not a drift, because the plan never promised particular bytes, only which assets are cloned or reused.
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor.Adoption
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public static class SystemAdoptionPlanDrift
Methods
Describe(SystemAdoptionPlan, SystemAdoptionPlan)
Every difference between shownPlan and currentPlan, in
the shown plan's entry order first; empty when the shown plan can still run exactly as shown.
Declaration
public static IReadOnlyList<string> Describe(SystemAdoptionPlan shownPlan, SystemAdoptionPlan currentPlan)
Parameters
| Type | Name | Description |
|---|---|---|
| SystemAdoptionPlan | shownPlan | |
| SystemAdoptionPlan | currentPlan |
Returns
| Type | Description |
|---|---|
| IReadOnlyList<string> |