Namespace Serenity.AssetPrefetcher.Infrastructure.Editor.Builder
Classes
CreatePrefetchPolicyWindow
Step-by-step window for creating or updating a PrefetchPolicyRegistry asset and the PrefetchPolicyProfile assets it references. Mirrors Serenity.GameCamera.Infrastructure.Editor.Builder.CreateGameCameraSettingsWindow's shape: the window only collects input and renders results, PrefetchPolicyCreator does the actual validation and generation work.
PrefetchPolicyCreator
Generates (or updates) a PrefetchPolicyRegistry asset and the set of PrefetchPolicyProfile assets it references, from a single description. Mirrors Serenity.GameCamera.Infrastructure.Editor.Builder.GameCameraSettingsCreator: static class, Input/Result DTOs, Validate, Create with created-paths rollback on failure — resolved and folder-provisioned through the shared SettingsAssetAuthoring engine rather than a private copy of its logic.
Unlike the registry — a single project-wide asset resolved the same way Serenity.GameCamera.Infrastructure.Settings.UnityGameCameraSettings is — the profiles are a set of N assets. Each row resolves to an existing PrefetchPolicyProfile asset with a matching Id already living in ProfilesFolderPath (updated in place) or a brand-new asset created there.
CreatePrefetchPolicyWindow only collects input and renders results; every asset mutation lives here.PrefetchPolicyCreator.Input
Everything needed to create or update the registry and its profiles.
PrefetchPolicyCreator.PreviewResult
A read-only summary of what a Create(Input) call would do, for a Preview step. Never mutates the project.
PrefetchPolicyCreator.ProfileResult
Where one profile row resolved to, before or after Create(Input) runs.
PrefetchPolicyCreator.ProfileRow
One authored profile row.
PrefetchPolicyCreator.Result
Outcome of a Create(Input) call.