Click or drag to resize

ImportWithFileNameDerivedPropertiesActionGetTableNamesToFileNamesRelationship Method

Gets a dictionary mapping target table names to lists of file paths, based on the provided file paths, target template name, and name splitter. Each file path is processed to extract properties and determine the corresponding target table name.

Namespace: Altaxo.Serialization.NamePropertyExtraction
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public static IDictionary<string, (List<string> FileNames, Dictionary<string, Object> CommonProperties)> GetTableNamesToFileNamesRelationship(
	IEnumerable<string> filePaths,
	string targetTemplateName,
	IPropertyExtractionTreeNode nameSplitter
)

Parameters

filePaths  IEnumerableString
The file paths to process.
targetTemplateName  String
The target template name with placeholders.
nameSplitter  IPropertyExtractionTreeNode
The name splitter used to extract properties from file names.

Return Value

IDictionaryString, ValueTupleListString, DictionaryString, Object
A dictionary mapping target table names to lists of file paths.
See Also