Handles component loading from XML/JSON files and signature enforcement logic. Provides reusable operations for the component command pipeline.
More...
|
|
static bool | IsArbitraryJsonFile (string filePath) |
| | Checks if a JSON file is an arbitrary modification file (not a typed component). XML files always return false (they are treated as components).
|
|
|
bool | skipSigning |
| | Enforces the signature action for a single component. Returns (skipSigning, signatureOverride): if skipSigning is true, use signatureOverride instead of computing a fresh signature via HashAndSerialize. Throws InvalidOperationException on block conditions.
|
Handles component loading from XML/JSON files and signature enforcement logic. Provides reusable operations for the component command pipeline.
◆ LoadComponent()
Loads a component declaration from an XML or JSON file.
- Parameters
-
| filePath | Path to the XML or JSON component file. |
- Returns
- The deserialized component declaration.
- Exceptions
-
| InvalidOperationException | Thrown when the file format is unsupported or no component declaration is found. |
The documentation for this class was generated from the following file:
- VectoInputManagerCore/Builders/ComponentProcessor.cs