Class SystemBootTaskWiringInspector
Resolves, for each of a set of systems, whether its install task already sits in some project-owned
UnityInitializationPipelineProfile — the same question the Systems and Settings steps both need
answered, so a fresh project shows a system's row as "wired" instead of just "Missing" when its shipped
profile already installs it. Delegates the actual profile scan to
Serenity.Global.Infrastructure.Editor.InitializationPipeline.InstallTaskAuthoring.ProjectOwnedProfilePathsByInstallMethodName(System.Collections.Generic.IReadOnlyCollection{System.String},System.Collections.Generic.IReadOnlyList{System.String})
so this module never needs a typed reference to UnityInitializationPipelineProfile itself.
Inherited Members
Namespace: Serenity.CreateGame.Infrastructure.Editor.Systems
Assembly: Serenity.UnityCreateGame.Infrastructure.Editor.dll
Syntax
public static class SystemBootTaskWiringInspector
Methods
Inspect(IReadOnlyList<SerenityInstallableSystem>)
One SystemBootTaskWiring per system in systems, keyed by
InstallMethodName — computed over every project-owned
profile. Use the Inspect(IReadOnlyList<SerenityInstallableSystem>, IReadOnlyList<string>)
overload wherever a profile has already been resolved (a project's sole one, or the one the reader
picked off an otherwise-Ambiguous "Boot pipeline" row), so this question and
Serenity.CreateGame.Infrastructure.Editor.Wiring.ProjectWiringPlanner's own boot-task plan are answered over the same profile set.
Declaration
public static IReadOnlyDictionary<string, SystemBootTaskWiring> Inspect(IReadOnlyList<SerenityInstallableSystem> systems)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SerenityInstallableSystem> | systems |
Returns
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, SystemBootTaskWiring> |
Inspect(IReadOnlyList<SerenityInstallableSystem>, IReadOnlyList<string>)
Declaration
public static IReadOnlyDictionary<string, SystemBootTaskWiring> Inspect(IReadOnlyList<SerenityInstallableSystem> systems, IReadOnlyList<string> restrictToProfilePaths)
Parameters
| Type | Name | Description |
|---|---|---|
| IReadOnlyList<SerenityInstallableSystem> | systems | The systems to inspect. |
| IReadOnlyList<string> | restrictToProfilePaths | When non-null, only these project-owned profiles' paths count as "wired into" — see Serenity.Global.Infrastructure.Editor.InitializationPipeline.InstallTaskAuthoring.ProjectOwnedProfilePathsByInstallMethodName(System.Collections.Generic.IReadOnlyCollection{System.String},System.Collections.Generic.IReadOnlyList{System.String})'s own doc comment for why this must match whatever profile set a wiring plan resolved. |
Returns
| Type | Description |
|---|---|
| IReadOnlyDictionary<string, SystemBootTaskWiring> |