Click or drag to resize

ImportWithFileNameDerivedPropertiesActionGetPropertiesPlacedInProjectItems Method

Gets a list of tuples containing the target item kind, project item name, property name, and property value for each file path based on the provided target template name, name splitter, and actions on properties. Each file path is processed to extract properties and determine where to place them in the project structure.

Namespace: Altaxo.Serialization.NamePropertyExtraction
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3618.0 (4.8.3618.0)
Syntax
C#
public static List<(ImportWithFileNameDerivedPropertiesActionTargetItemKind Kind, string ProjectItemName, string PropertyName, Object PropertyValue)> GetPropertiesPlacedInProjectItems(
	IEnumerable<string> filePaths,
	IPropertyExtractionTreeNode nameSplitter,
	string targetTemplateName,
	IEnumerable<IActionOnProperty> actionsOnProperties
)

Parameters

filePaths  IEnumerableString
The file paths to process.
nameSplitter  IPropertyExtractionTreeNode
The name splitter used to extract properties from file names.
targetTemplateName  String
The target template name with placeholders.
actionsOnProperties  IEnumerableIActionOnProperty
The actions to perform on the extracted properties.

Return Value

ListValueTupleImportWithFileNameDerivedPropertiesActionTargetItemKind, String, String, Object
A list of tuples containing the target item kind, project item name, property name, and property value.
Exceptions
ExceptionCondition
Exception
See Also