Read-only preflight checks for the Theme Manager's project repository setup form.
More...
|
| static string | GetShippedDefaultPath (string packageRoot) |
| | Returns the shipped default repository by stable asset identity inside the actual installation.
|
| static string | GetThemeDataAssetPath (string folder, string name) |
| | Returns the named ThemeData asset path inside an already validated repository folder.
|
| static bool | InspectSource (WindowFrameThemeData source, out List< WindowFrameTheme > supported, out List< string > excluded, out string error, string packageRoot=null) |
| | Lists source entries according to source ownership, not guessed stylesheet contents.
|
| static bool | IsDemoRepository (WindowFrameThemeData data, string packageRoot) |
| | Classifies every ThemeData under the installed Demo directory as Demo data, regardless of its name.
|
| static bool | IsProjectRepository (WindowFrameThemeData data, string packageRoot) |
| | Identifies saved project ThemeData outside the entire installed package for alternate source selection.
|
| static bool | IsShippedDefault (WindowFrameThemeData data, string packageRoot) |
| | Identifies the actual shipped default by its controlled asset reference, never its display name.
|
| static WindowFrameThemeData | LoadShippedDefault (string packageRoot) |
| | Loads only the canonical asset default; a missing asset is not replaced with a Demo/project repository.
|
| static bool | ResolveRequiredFrameworkStylesheets (WindowFrameThemeData data, string packageRoot, out StyleSheet[] required, out string error) |
| | Resolves protected framework-role assets and validates their existing leading composition order.
|
| static bool | ValidateDestination (WindowFrameThemeData source, string packageRoot, string parentFolder, string repositoryName, out string destination, out string error) |
| | Validates a new repository folder without creating folders or probing through writes.
|
| static bool | ValidateDestination (WindowFrameThemeData source, string packageRoot, string parentFolder, string repositoryName, out string destination, out string error, out bool folderConflict) |
| | Also indicates a folder-name/existing-output conflict for field-local presentation.
|
| static bool | ValidateSaveFileName (string fileName, out string error) |
| | Validates the controller's existing persistent JSON filename, not the ThemeData asset name.
|
| static bool | ValidateSourceOrigin (WindowFrameThemeData data, string packageRoot, out string error) |
| | Restricts creation sources to the canonical default or an explicitly selected project repository.
|
| static bool | ValidateThemeDataName (string name, out string error) |
| | Validates the repository asset/display name without silently altering it.
|
Read-only preflight checks for the Theme Manager's project repository setup form.
These checks do not copy, import, save, upgrade, prepare or mutate source assets. They validate source identity, destination safety and explicit setup choices, not theme versions or stylesheet content. The later copy engine reruns input validation and checks copied references and wiring. Prepared snapshots are copied as serialized data, not treated as source eligibility certificates.
| bool GWG.WindowFramework.Editor.ThemeRepositorySetupValidation.ResolveRequiredFrameworkStylesheets |
( |
WindowFrameThemeData | data, |
|
|
string | packageRoot, |
|
|
out StyleSheet[] | required, |
|
|
out string | error ) |
|
inlinestatic |
Resolves protected framework-role assets and validates their existing leading composition order.
- Parameters
-
| required | Native controls, framework components and slide-toggle references, including nulls for diagnostics. |
For the canonical shipped default only, trusted known asset identities supply unrecorded roles. Project copies retain recorded role references, including intentional external assets; missing metadata never reconnects them to shipped assets. This inspection does not save, reorder or repair the source collection.