ExternalDataLoader
ExternalDataLoader
Generic data loader for external placeable data sources
Project: GridPlacement v6.0
Layer: Core
Source: Core/_incomplete/Integration/ExternalDataLoader.cs
Namespace: GridBuilding.Core.Integration
Kind: class
Parsing Method: AST-based (Roslyn) - NOT regex
⚠️ IMPORTANT: This documentation was generated using AST parsing, not regex.
Methods
LoadFromSource
Loads placeable from external data source
Returns: Result<PlaceableDefinition>
Parameters:
string sourcePathstring format
LoadCollectionFromSource
Loads multiple placeables from a collection file
Returns: Result<PlaceableCollection>
Parameters:
string sourcePathstring format
ValidateExternalData
Validates external data format
Returns: Result<bool>
Parameters:
string datastring format
RegisterFormatLoader
Registers a custom format loader
Returns: Result<bool>
Parameters:
string formatFunc<string, Result<PlaceableDefinition>> loader
GetSupportedFormats
Gets supported formats
Returns: IEnumerable<string>
LoadFromMultipleSources
Loads placeables from multiple sources
Returns: Result<PlaceableCollection>
Parameters:
IEnumerable<string> sourcePaths